diff options
Diffstat (limited to 'test/Transforms/ScalarRepl/bitfield-sroa.ll')
-rw-r--r-- | test/Transforms/ScalarRepl/bitfield-sroa.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/ScalarRepl/bitfield-sroa.ll b/test/Transforms/ScalarRepl/bitfield-sroa.ll index 3728658..52986b0 100644 --- a/test/Transforms/ScalarRepl/bitfield-sroa.ll +++ b/test/Transforms/ScalarRepl/bitfield-sroa.ll @@ -7,11 +7,11 @@ define i8 @foo(i64 %A) { %ALL = alloca %t, align 8 %tmp59172 = bitcast %t* %ALL to i64* store i64 %A, i64* %tmp59172, align 8 - %C = getelementptr %t* %ALL, i32 0, i32 0, i32 1 + %C = getelementptr %t, %t* %ALL, i32 0, i32 0, i32 1 %D = bitcast i16* %C to i32* - %E = load i32* %D, align 4 + %E = load i32, i32* %D, align 4 %F = bitcast %t* %ALL to i8* - %G = load i8* %F, align 8 + %G = load i8, i8* %F, align 8 ret i8 %G } |