summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll
diff options
context:
space:
mode:
authorMax Kazantsev <max.kazantsev@azul.com>2017-07-06 10:47:13 +0000
committerMax Kazantsev <max.kazantsev@azul.com>2017-07-06 10:47:13 +0000
commit98838527c678d581bccca403d1e904942b44677b (patch)
treec3a8a30b87110e79978ef1b2ec16e3d2f7734ef7 /llvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll
parent3ae33209cc6b3fca126af66b88f5463e8734971f (diff)
downloadbcm5719-llvm-98838527c678d581bccca403d1e904942b44677b.tar.gz
bcm5719-llvm-98838527c678d581bccca403d1e904942b44677b.zip
Revert "Revert "Revert "[IndVars] Canonicalize comparisons between non-negative values and indvars"""
It appears that the problem is still there. Needs more analysis to understand why SaturatedMultiply test fails. llvm-svn: 307249
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll')
-rw-r--r--llvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll b/llvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll
index 2d24cd732ce..b87cd055019 100644
--- a/llvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll
+++ b/llvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll
@@ -64,7 +64,7 @@ for.end:
; CHECK-LABEL: @test2
; CHECK: for.body4.us
; CHECK: %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
-; CHECK: %cmp2.us = icmp ult i64
+; CHECK: %cmp2.us = icmp slt i64
; CHECK-NOT: %2 = trunc i64 %indvars.iv.next to i32
; CHECK-NOT: %cmp2.us = icmp slt i32
OpenPOWER on IntegriCloud