[llvm] [VPlan] Consolidate VPIWithType and VPI (NFC) (PR #203019)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 23:26:35 PDT 2026


================

----------------
artagnon wrote:

See

```cpp
  if (Instruction::isCast(Opcode) ||
      is_contained(ArrayRef<unsigned>({Instruction::ExtractValue,
                                       Instruction::Load, Instruction::Alloca}),
                   Opcode))
    return I->getType();
```

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


More information about the llvm-commits mailing list