[PATCH] D44515: [IRCE] Change min value safety check

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 20 08:03:40 PDT 2018


samparker updated this revision to Diff 139126.
samparker added a comment.

Thanks Max, I've now:

- corrected the loop guard logic, including using the entry instead of backedge guard.
- extracted the bound checking into one function, merging the Max check into it.


https://reviews.llvm.org/D44515

Files:
  lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  test/Transforms/IRCE/eq_ne.ll
  test/Transforms/IRCE/variable-loop-bounds.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44515.139126.patch
Type: text/x-patch
Size: 12060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180320/ee9d9e7f/attachment.bin>


More information about the llvm-commits mailing list