blob: c8aa82f6030b161724380d6518736082b6c67757 [file] [log] [blame]
Francis Visoiu Mistrihb7cef812019-01-14 10:55:55 +00001; RUN: llc < %s -mtriple=thumbv7-apple-darwin -frame-pointer=all | not grep r7
Evan Cheng6ddd7bc2009-08-15 07:59:10 +00002
3%struct.noise3 = type { [3 x [17 x i32]] }
4%struct.noiseguard = type { i32, i32, i32 }
5
Rafael Espindola29dda212010-06-17 15:18:27 +00006define void @vorbis_encode_noisebias_setup(i8* nocapture %vi.0.7.val, double %s, i32 %block, i32* nocapture %suppress, %struct.noise3* nocapture %in, %struct.noiseguard* nocapture %guard, double %userbias) nounwind {
Evan Cheng6ddd7bc2009-08-15 07:59:10 +00007entry:
David Blaikie79e6c742015-02-27 19:29:02 +00008 %0 = getelementptr %struct.noiseguard, %struct.noiseguard* %guard, i32 %block, i32 2; <i32*> [#uses=1]
David Blaikiea79ac142015-02-27 21:17:42 +00009 %1 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
Evan Cheng6ddd7bc2009-08-15 07:59:10 +000010 store i32 %1, i32* undef, align 4
11 unreachable
12}