[llvm] [VPlan] Introduce VPInstructionWithType, use instead of VPScalarCast(NFC) (PR #129706)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 9 14:50:09 PDT 2025


================
@@ -4459,7 +4459,6 @@ static bool willGenerateVectors(VPlan &Plan, ElementCount VF,
       switch (R.getVPDefID()) {
       case VPDef::VPDerivedIVSC:
       case VPDef::VPScalarIVStepsSC:
-      case VPDef::VPScalarCastSC:
       case VPDef::VPReplicateSC:
       case VPDef::VPInstructionSC:
----------------
ayalz wrote:

VPInstructionSC now also holds for VPInstructionWithType recipes, instead of VPScalarCastSC.

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


More information about the llvm-commits mailing list