[llvm] [VPlan] Fold common edges away in convertPhisToBlends (PR #150368)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 28 23:43:33 PDT 2025
================
@@ -226,6 +231,20 @@ void VPPredicator::createSwitchEdgeMasks(VPInstruction *SI) {
setEdgeMask(Src, DefaultDst, DefaultMask);
}
+VPValue *VPPredicator::findCommonEdgeMask(const VPWidenPHIRecipe *PhiR) const {
+ using namespace llvm::VPlanPatternMatch;
----------------
artagnon wrote:
I would probably hoist this (and the other instance).
https://github.com/llvm/llvm-project/pull/150368
More information about the llvm-commits
mailing list