xref: /llvm-project/llvm/test/CodeGen/Thumb2/frameless2.ll (revision 4a2bd78f5b0d0661c23dff9c4b93a393a49dbf9a)
1; RUN: llc < %s -mtriple=thumbv7-apple-darwin -frame-pointer=none | not grep r7
2
3%struct.noise3 = type { [3 x [17 x i32]] }
4%struct.noiseguard = type { i32, i32, i32 }
5
6define void @vorbis_encode_noisebias_setup(ptr nocapture %vi.0.7.val, double %s, i32 %block, ptr nocapture %suppress, ptr nocapture %in, ptr nocapture %guard, double %userbias) nounwind {
7entry:
8  %0 = getelementptr %struct.noiseguard, ptr %guard, i32 %block, i32 2; <ptr> [#uses=1]
9  %1 = load i32, ptr %0, align 4                      ; <i32> [#uses=1]
10  store i32 %1, ptr undef, align 4
11  unreachable
12}
13