[PATCH] D139832: [IndVars] Support AND/OR in optimizeLoopExitWithUnknownExitCount
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 9 00:49:10 PST 2023
mkazantsev updated this revision to Diff 487312.
mkazantsev marked 2 inline comments as done.
mkazantsev added a comment.
Addressed comments:
- Removed duplicating AND/logical AND matchers
- Simplified replacement logic, shrinking it down to one-use + RAUW mechanism
- Removed Fixed TODO
No-recompute of condition inversion is planned for follow-up.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139832/new/
https://reviews.llvm.org/D139832
Files:
llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
llvm/test/Transforms/IndVarSimplify/turn-to-invariant.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139832.487312.patch
Type: text/x-patch
Size: 18615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230109/8c5f6dfb/attachment.bin>
More information about the llvm-commits
mailing list