summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IndVarSimplify/replace-srem-by-urem.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify/replace-srem-by-urem.ll')
-rw-r--r--llvm/test/Transforms/IndVarSimplify/replace-srem-by-urem.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/replace-srem-by-urem.ll b/llvm/test/Transforms/IndVarSimplify/replace-srem-by-urem.ll
index 6629420df55..ec1ccffbc5c 100644
--- a/llvm/test/Transforms/IndVarSimplify/replace-srem-by-urem.ll
+++ b/llvm/test/Transforms/IndVarSimplify/replace-srem-by-urem.ll
@@ -71,7 +71,7 @@ entry:
for.body: ; preds = %entry, %for.body
%i.01 = phi i32 [ 0, %entry ], [ %inc, %for.body ]
%mul = mul nsw i32 %i.01, 64
- %rem = srem i32 %mul, 8
+ %rem = srem i32 %mul, 7
; CHECK: urem
; CHECK-NOT: srem
%idxprom = sext i32 %rem to i64
OpenPOWER on IntegriCloud