summaryrefslogtreecommitdiff
path: root/test/Transforms/LoopUnroll
diff options
context:
space:
mode:
authorNikolai Bozhenov <nikolai.bozhenov@intel.com>2017-10-20 10:08:47 +0000
committerNikolai Bozhenov <nikolai.bozhenov@intel.com>2017-10-20 10:08:47 +0000
commit082e33ac8c6bc2fce772d768b00ef83935977365 (patch)
tree2db2ba038b7011082f4743bcd5bbb5c91b1a261e /test/Transforms/LoopUnroll
parent28591001d2e16141402546a7e18affaf27113c10 (diff)
[ValueTracking] Enabling ValueTracking patch by default
(recommit #2 after checking for timeout issue). The original patch was an improvement to IR ValueTracking on non-negative integers. It has been checked in to trunk (D18777, r284022). But was disabled by default due to performance regressions. Perf impact has improved. The patch would be enabled by default. Reviewers: reames, hfinkel Differential Revision: https://reviews.llvm.org/D34101 Patch by: Olga Chupina <olga.chupina@intel.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316208 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopUnroll')
-rw-r--r--test/Transforms/LoopUnroll/runtime-unroll-remainder.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/LoopUnroll/runtime-unroll-remainder.ll b/test/Transforms/LoopUnroll/runtime-unroll-remainder.ll
index ac97ce3dc1e..b85e09bc3bc 100644
--- a/test/Transforms/LoopUnroll/runtime-unroll-remainder.ll
+++ b/test/Transforms/LoopUnroll/runtime-unroll-remainder.ll
@@ -47,7 +47,7 @@ for.cond.cleanup:
; CHECK: or i64 [[INDVAR0]], 1
; CHECK: or i64 [[INDVAR0]], 2
; CHECK: or i64 [[INDVAR0]], 3
-; CHECK: add nsw i64 [[INDVAR0]], 4
+; CHECK: add nuw nsw i64 [[INDVAR0]], 4
; CHECK: [[SUB:%[a-z.0-9]+]] = add i64 [[ITER]], -4
; CHECK: [[ITER_CMP:%[a-z.0-9]+]] = icmp eq i64 [[SUB]], 0
; CHECK: br i1 [[ITER_CMP]], label %[[LOOP_EXIT:.*]], label %for.body