[PATCH] D139832: [IndVars] Support AND/OR in optimizeLoopExitWithUnknownExitCount
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 10 04:57:54 PST 2023
mkazantsev updated this revision to Diff 487754.
mkazantsev added a comment.
Fixed astray comment.
Rewrote one-use check that now we only collect single use ICMPs as leaves and don't filter out what we don't need to.
As for insertion point, proposing follow-up. Needs some underlying refactoring I don't want to be blocked on.
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/eliminate-backedge.ll
llvm/test/Transforms/IndVarSimplify/turn-to-invariant.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139832.487754.patch
Type: text/x-patch
Size: 21454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230110/a2dde31d/attachment.bin>
More information about the llvm-commits
mailing list