[llvm] [VPlan] Consolidate VPIWithType and VPI (NFC) (PR #203019)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 9 00:23:08 PDT 2026
================
----------------
artagnon wrote:
Yes, sorry. Wrong snippet:
```cpp
case VPInstruction::FirstActiveLane:
case VPInstruction::LastActiveLane:
case VPInstruction::NumActiveLanes:
case VPInstruction::IncomingAliasMask:
case Instruction::Load:
case Instruction::Alloca:
llvm_unreachable("type must be passed explicitly");
```
```cpp
: VPRecipeWithIRFlags(
VPRecipeBase::VPInstructionSC, Operands,
ResultTy ? ResultTy
: computeScalarTypeForInstruction(Opcode, Operands),
Flags, DL),
```
I suppose we should add an llvm_unreachable for casts -- will post a PR shortly.
https://github.com/llvm/llvm-project/pull/203019
More information about the llvm-commits
mailing list