diff test/Transforms/IndVarSimplify/udiv.ll @ 120:1172e4bd9c6f

update 4.0.0
author mir3636
date Fri, 25 Nov 2016 19:14:25 +0900
parents afa8332a0e37
children
line wrap: on
line diff
--- a/test/Transforms/IndVarSimplify/udiv.ll	Tue Jan 26 22:56:36 2016 +0900
+++ b/test/Transforms/IndVarSimplify/udiv.ll	Fri Nov 25 19:14:25 2016 +0900
@@ -127,12 +127,12 @@
 
 declare i32 @printf(i8* nocapture, ...) nounwind
 
-; IndVars shouldn't be afraid to emit a udiv here, since there's a udiv in
-; the original code.
+; IndVars doesn't emit a udiv in for.body.preheader since SCEVExpander::expand will
+; find out there's already a udiv in the original code.
 
 ; CHECK-LABEL: @foo(
 ; CHECK: for.body.preheader:
-; CHECK-NEXT: udiv
+; CHECK-NOT: udiv
 
 define void @foo(double* %p, i64 %n) nounwind {
 entry: