diff options
Diffstat (limited to 'test/Transforms/GVN/crash-no-aa.ll')
-rw-r--r-- | test/Transforms/GVN/crash-no-aa.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/GVN/crash-no-aa.ll b/test/Transforms/GVN/crash-no-aa.ll index 9ad63a7..f076a8d 100644 --- a/test/Transforms/GVN/crash-no-aa.ll +++ b/test/Transforms/GVN/crash-no-aa.ll @@ -5,11 +5,11 @@ target triple = "x86_64-unknown-freebsd8.0" ; PR5744 define i32 @test1({i16, i32} *%P) { - %P2 = getelementptr {i16, i32} *%P, i32 0, i32 0 + %P2 = getelementptr {i16, i32}, {i16, i32} *%P, i32 0, i32 0 store i16 42, i16* %P2 - %P3 = getelementptr {i16, i32} *%P, i32 0, i32 1 - %V = load i32* %P3 + %P3 = getelementptr {i16, i32}, {i16, i32} *%P, i32 0, i32 1 + %V = load i32, i32* %P3 ret i32 %V } |