aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GVN/load-from-unreachable-predecessor.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/GVN/load-from-unreachable-predecessor.ll')
-rw-r--r--test/Transforms/GVN/load-from-unreachable-predecessor.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/GVN/load-from-unreachable-predecessor.ll b/test/Transforms/GVN/load-from-unreachable-predecessor.ll
index b676d95..29ea14d 100644
--- a/test/Transforms/GVN/load-from-unreachable-predecessor.ll
+++ b/test/Transforms/GVN/load-from-unreachable-predecessor.ll
@@ -8,13 +8,13 @@ define i32 @f(i32** %f) {
; Load should be removed, since it's ignored.
; CHECK-NEXT: br label
bb0:
- %bar = load i32** %f
+ %bar = load i32*, i32** %f
br label %bb2
bb1:
- %zed = load i32** %f
+ %zed = load i32*, i32** %f
br i1 false, label %bb1, label %bb2
bb2:
%foo = phi i32* [ null, %bb0 ], [ %zed, %bb1 ]
- %storemerge = load i32* %foo
+ %storemerge = load i32, i32* %foo
ret i32 %storemerge
}