[llvm] [VPlan] Dissolve replicate regions with vector live-outs. (PR #189022)

via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 4 10:28:38 PDT 2026


================
@@ -482,6 +482,7 @@ unsigned VPInstruction::getNumOperandsForOpcode() const {
   case VPInstruction::CalculateTripCountMinusVF:
     return 2;
   case Instruction::Select:
+  case Instruction::InsertElement:
----------------
ayalz wrote:

nit: swap order to retain lexicality
```suggestion
  case Instruction::InsertElement:
  case Instruction::Select:
```

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


More information about the llvm-commits mailing list