diff options
Diffstat (limited to 'test/CodeGen/PowerPC/add-fi.ll')
-rw-r--r-- | test/CodeGen/PowerPC/add-fi.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/add-fi.ll b/test/CodeGen/PowerPC/add-fi.ll index 18892c8..010602e 100644 --- a/test/CodeGen/PowerPC/add-fi.ll +++ b/test/CodeGen/PowerPC/add-fi.ll @@ -4,7 +4,7 @@ target triple = "powerpc64-unknown-linux-gnu" define i32* @test1() { %X = alloca { i32, i32 } - %Y = getelementptr {i32,i32}* %X, i32 0, i32 1 + %Y = getelementptr {i32,i32}, {i32,i32}* %X, i32 0, i32 1 ret i32* %Y ; CHECK-LABEL: @test1 @@ -14,7 +14,7 @@ define i32* @test1() { define i32* @test2() { %X = alloca { i32, i32, i32, i32 } - %Y = getelementptr {i32,i32,i32,i32}* %X, i32 0, i32 3 + %Y = getelementptr {i32,i32,i32,i32}, {i32,i32,i32,i32}* %X, i32 0, i32 3 ret i32* %Y ; CHECK-LABEL: @test2 |