[llvm] [VPlan] Simplify VPBlendRecipes to select instructions (PR #133993)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 8 02:46:09 PDT 2025


================
@@ -928,6 +928,19 @@ InstructionCost VPInstruction::computeCost(ElementCount VF,
     return Ctx.TTI.getVectorInstrCost(Instruction::ExtractElement, VecTy,
                                       Ctx.CostKind);
   }
+  case Instruction::Select: {
+    if (!getUnderlyingValue())
----------------
artagnon wrote:

Ah, my bad.

https://github.com/llvm/llvm-project/pull/133993


More information about the llvm-commits mailing list