diff options
Diffstat (limited to 'test/Transforms/IndVarSimplify/sharpen-range.ll')
-rw-r--r-- | test/Transforms/IndVarSimplify/sharpen-range.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/IndVarSimplify/sharpen-range.ll b/test/Transforms/IndVarSimplify/sharpen-range.ll index 5392dbc..c103da9 100644 --- a/test/Transforms/IndVarSimplify/sharpen-range.ll +++ b/test/Transforms/IndVarSimplify/sharpen-range.ll @@ -8,7 +8,7 @@ declare void @abort() define i1 @bounded_below_slt(i32* nocapture readonly %buffer) { ; CHECK-LABEL: bounded_below_slt entry: - %length = load i32* %buffer, !range !0 + %length = load i32, i32* %buffer, !range !0 %entry.pred = icmp eq i32 %length, 0 br i1 %entry.pred, label %abort, label %loop.preheader @@ -42,7 +42,7 @@ oob: define i1 @bounded_below_sle(i32* nocapture readonly %buffer) { ; CHECK-LABEL: bounded_below_sle entry: - %length = load i32* %buffer, !range !0 + %length = load i32, i32* %buffer, !range !0 %entry.pred = icmp eq i32 %length, 0 br i1 %entry.pred, label %abort, label %loop.preheader @@ -92,7 +92,7 @@ loop.begin: loop: ; CHECK: loop %.sum = add i64 %i.01, -2 - %v = getelementptr inbounds i8* null, i64 %.sum + %v = getelementptr inbounds i8, i8* null, i64 %.sum %r = tail call i32 @check(i8* %v) %c = icmp eq i32 %r, 0 br i1 %c, label %loop.end, label %abort.now |