[PATCH] D19266: [SCEV] Improve the run-time checking of the NoWrap predicate
silviu.baranga@arm.com via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 22 07:04:51 PDT 2016
sbaranga updated this revision to Diff 54643.
sbaranga added a comment.
Only compare the step with 0 when we need to truncate the backedge taken count.
Otherwise, the case where the step is 0 is correctly handled.
Address the other comments received in the review.
http://reviews.llvm.org/D19266
Files:
lib/Analysis/ScalarEvolutionExpander.cpp
test/Analysis/LoopAccessAnalysis/wrapping-pointer-versioning.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19266.54643.patch
Type: text/x-patch
Size: 14525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160422/315455c7/attachment.bin>
More information about the llvm-commits
mailing list