[llvm] [VPlan] Move tail folding out of VPlanPredicator. NFC (PR #176143)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 25 15:27:38 PST 2026
fhahn wrote:
> Not only do you have to worry about where to insert logical-ands and deduplicating them, the big issue I found is that if you e.g. want to predicate everything past the exiting block here, you have to start dealing with control flow joins:
It seems with the the fold from https://github.com/llvm/llvm-project/pull/177887, the first part does not seem too bad: d15e2db3da528ad4bb0d8adf61fbebd4e74e2210
As for the second part, I need to think a bit more about it, but I think similarly with the explicit CFG we similarly need to make sure we insert phis to preserve SSA form?
https://github.com/llvm/llvm-project/pull/176143
More information about the llvm-commits
mailing list