summaryrefslogtreecommitdiff
path: root/test/Transforms/LoopDistribute/basic-with-memchecks.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/LoopDistribute/basic-with-memchecks.ll')
-rw-r--r--test/Transforms/LoopDistribute/basic-with-memchecks.ll8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/Transforms/LoopDistribute/basic-with-memchecks.ll b/test/Transforms/LoopDistribute/basic-with-memchecks.ll
index fde06d33c5a5c..3aced48504111 100644
--- a/test/Transforms/LoopDistribute/basic-with-memchecks.ll
+++ b/test/Transforms/LoopDistribute/basic-with-memchecks.ll
@@ -32,8 +32,9 @@ entry:
%e = load i32*, i32** @E, align 8
br label %for.body
-; We have two compares for each array overlap check which is a total of 10
-; compares.
+; We have two compares for each array overlap check.
+; Since the checks to A and A + 4 get merged, this will give us a
+; total of 8 compares.
;
; CHECK: for.body.lver.memcheck:
; CHECK: = icmp
@@ -48,9 +49,6 @@ entry:
; CHECK: = icmp
; CHECK: = icmp
-; CHECK: = icmp
-; CHECK: = icmp
-
; CHECK-NOT: = icmp
; CHECK: br i1 %memcheck.conflict, label %for.body.ph.lver.orig, label %for.body.ph.ldist1