[PATCH] D149365: [SimplifyCFG] Improve the way hoisting skips over non-matching instructions
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 27 11:12:35 PDT 2023
foad created this revision.
Herald added subscribers: hoy, StephenFan, hiraditya.
Herald added a project: All.
foad requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
D129370 <https://reviews.llvm.org/D129370> introduced the idea that hoisting could skip over non-matching
instructions and continue to look for matching (hoistable) instructions,
but certain types of mismatch still aborted the whole hoisting attempt.
Fix this by splitting out some of the instruction matching checks into a
helper function.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149365
Files:
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/SimplifyCFG/convergent.ll
llvm/test/Transforms/SimplifyCFG/hoist-common-skip.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149365.517654.patch
Type: text/x-patch
Size: 6671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230427/8a7f566c/attachment.bin>
More information about the llvm-commits
mailing list