diff options
Diffstat (limited to 'llvm/test/Transforms/ScalarRepl/copy-aggregate.ll')
| -rw-r--r-- | llvm/test/Transforms/ScalarRepl/copy-aggregate.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/Transforms/ScalarRepl/copy-aggregate.ll b/llvm/test/Transforms/ScalarRepl/copy-aggregate.ll index b464947cc3f..97977dbf11f 100644 --- a/llvm/test/Transforms/ScalarRepl/copy-aggregate.ll +++ b/llvm/test/Transforms/ScalarRepl/copy-aggregate.ll @@ -12,8 +12,8 @@ define i32 @test1(i64 %V) nounwind { %A = getelementptr {{i32,i32}}, {{i32,i32}}* %X, i32 0, i32 0, i32 0 %B = getelementptr {{i32,i32}}, {{i32,i32}}* %X, i32 0, i32 0, i32 1 - %a = load i32* %A - %b = load i32* %B + %a = load i32, i32* %A + %b = load i32, i32* %B %c = add i32 %a, %b ret i32 %c } @@ -28,8 +28,8 @@ define float @test2(i128 %V) nounwind { %A = getelementptr {[4 x float]}, {[4 x float]}* %X, i32 0, i32 0, i32 0 %B = getelementptr {[4 x float]}, {[4 x float]}* %X, i32 0, i32 0, i32 3 - %a = load float* %A - %b = load float* %B + %a = load float, float* %A + %b = load float, float* %B %c = fadd float %a, %b ret float %c } @@ -46,7 +46,7 @@ define i64 @test3(i32 %a, i32 %b) nounwind { store i32 %b, i32* %B %Y = bitcast {{i32,i32}}* %X to i64* - %Z = load i64* %Y + %Z = load i64, i64* %Y ret i64 %Z } @@ -61,7 +61,7 @@ define i128 @test4(float %a, float %b) nounwind { store float %b, float* %B %Y = bitcast {[4 x float]}* %X to i128* - %V = load i128* %Y + %V = load i128, i128* %Y ret i128 %V } |

