[PATCH] D128322: [GuardWidening] Use logical and in widenCondCommon as it stated in doc

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 23 02:55:51 PDT 2022


skatkov updated this revision to Diff 439301.
skatkov added a comment.

Step forward trying to take into account Philip's comments.

1. Add LagicAnd parsing in range check parser.
2. Utilize the isGuaranteedNotToBeUndefOrPoison function.

Next steps:

1. Re-factor to simplify code.
2. Add a lot of comments
3. Carefully verify all tests to find bugs.
4. Add freeze logic under an option.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128322/new/

https://reviews.llvm.org/D128322

Files:
  llvm/lib/Transforms/Scalar/GuardWidening.cpp
  llvm/test/Transforms/GuardWidening/basic-loop.ll
  llvm/test/Transforms/GuardWidening/basic.ll
  llvm/test/Transforms/GuardWidening/basic_widenable_condition_guards.ll
  llvm/test/Transforms/GuardWidening/loop-schedule.ll
  llvm/test/Transforms/GuardWidening/mixed_guards.ll
  llvm/test/Transforms/GuardWidening/range-check-merging.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128322.439301.patch
Type: text/x-patch
Size: 70097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220623/af7507f1/attachment.bin>


More information about the llvm-commits mailing list