summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/ScalarRepl/badarray.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/ScalarRepl/badarray.ll')
-rw-r--r--llvm/test/Transforms/ScalarRepl/badarray.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/ScalarRepl/badarray.ll b/llvm/test/Transforms/ScalarRepl/badarray.ll
index a0017c472c0..6f5bc95b43b 100644
--- a/llvm/test/Transforms/ScalarRepl/badarray.ll
+++ b/llvm/test/Transforms/ScalarRepl/badarray.ll
@@ -12,7 +12,7 @@ define i32 @test1() {
%X = alloca [4 x i32]
%Y = getelementptr [4 x i32], [4 x i32]* %X, i64 0, i64 6 ; <i32*> [#uses=2]
store i32 0, i32* %Y
- %Z = load i32* %Y ; <i32> [#uses=1]
+ %Z = load i32, i32* %Y ; <i32> [#uses=1]
ret i32 %Z
}
@@ -24,7 +24,7 @@ entry:
; CHECK-NOT: = alloca
%yx2.i = alloca float, align 4 ; <float*> [#uses=1]
%yx26.i = bitcast float* %yx2.i to i64* ; <i64*> [#uses=1]
- %0 = load i64* %yx26.i, align 8 ; <i64> [#uses=0]
+ %0 = load i64, i64* %yx26.i, align 8 ; <i64> [#uses=0]
unreachable
}
OpenPOWER on IntegriCloud