diff options
Diffstat (limited to 'test/Transforms/SCCP/apint-ipsccp4.ll')
-rw-r--r-- | test/Transforms/SCCP/apint-ipsccp4.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Transforms/SCCP/apint-ipsccp4.ll b/test/Transforms/SCCP/apint-ipsccp4.ll index 75875ff..be06d03 100644 --- a/test/Transforms/SCCP/apint-ipsccp4.ll +++ b/test/Transforms/SCCP/apint-ipsccp4.ll @@ -9,14 +9,14 @@ { i212, float } { i212 37, float 2.0 } ] define internal float @test2() { - %A = getelementptr [2 x { i212, float}]* @Y, i32 0, i32 1, i32 1 - %B = load float* %A + %A = getelementptr [2 x { i212, float}], [2 x { i212, float}]* @Y, i32 0, i32 1, i32 1 + %B = load float, float* %A ret float %B } define internal float @test3() { - %A = getelementptr [2 x { i212, float}]* @Y, i32 0, i32 0, i32 1 - %B = load float* %A + %A = getelementptr [2 x { i212, float}], [2 x { i212, float}]* @Y, i32 0, i32 0, i32 1 + %B = load float, float* %A ret float %B } |