diff options
Diffstat (limited to 'test/Transforms/SROA/fca.ll')
-rw-r--r-- | test/Transforms/SROA/fca.ll | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/Transforms/SROA/fca.ll b/test/Transforms/SROA/fca.ll index e8b4c6c..6eaa73f 100644 --- a/test/Transforms/SROA/fca.ll +++ b/test/Transforms/SROA/fca.ll @@ -14,12 +14,12 @@ entry: store { i32, i32 } undef, { i32, i32 }* %a - %gep1 = getelementptr inbounds { i32, i32 }* %a, i32 0, i32 0 + %gep1 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %a, i32 0, i32 0 store i32 %x, i32* %gep1 - %gep2 = getelementptr inbounds { i32, i32 }* %a, i32 0, i32 1 + %gep2 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %a, i32 0, i32 1 store i32 %y, i32* %gep2 - %result = load { i32, i32 }* %a + %result = load { i32, i32 }, { i32, i32 }* %a ret { i32, i32 } %result } @@ -30,7 +30,7 @@ define { i32, i32 } @test1(i32 %x, i32 %y) { ; CHECK-LABEL: @test1( ; CHECK: alloca ; CHECK: alloca -; CHECK: load volatile { i32, i32 }* +; CHECK: load volatile { i32, i32 }, { i32, i32 }* ; CHECK: store volatile { i32, i32 } ; CHECK: ret { i32, i32 } @@ -38,12 +38,12 @@ entry: %a = alloca { i32, i32 } %b = alloca { i32, i32 } - %gep1 = getelementptr inbounds { i32, i32 }* %a, i32 0, i32 0 + %gep1 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %a, i32 0, i32 0 store i32 %x, i32* %gep1 - %gep2 = getelementptr inbounds { i32, i32 }* %a, i32 0, i32 1 + %gep2 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %a, i32 0, i32 1 store i32 %y, i32* %gep2 - %result = load volatile { i32, i32 }* %a + %result = load volatile { i32, i32 }, { i32, i32 }* %a store volatile { i32, i32 } %result, { i32, i32 }* %b ret { i32, i32 } %result } |