[llvm] [VPlan] Add Type* and getType() to VPSymbolicValue (NFC) (PR #195183)
via llvm-commits
llvm-commits at lists.llvm.org
Sun May 10 12:16:56 PDT 2026
================
@@ -4579,11 +4581,12 @@ class VPlan {
/// Construct a VPlan for \p L. This will create VPIRBasicBlocks wrapping the
/// original preheader and scalar header of \p L, to be used as entry and
/// scalar header blocks of the new VPlan.
- VPlan(Loop *L);
+ VPlan(Loop *L, Type *IdxTy = nullptr);
/// Construct a VPlan with a new VPBasicBlock as entry, a VPIRBasicBlock
/// wrapping \p ScalarHeaderBB and a trip count of \p TC.
- VPlan(BasicBlock *ScalarHeaderBB) {
+ VPlan(BasicBlock *ScalarHeaderBB, Type *IdxTy = nullptr)
----------------
ayalz wrote:
Is the default null needed, can it be dropped.
https://github.com/llvm/llvm-project/pull/195183
More information about the llvm-commits
mailing list