[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
================
@@ -278,12 +278,16 @@ struct VPConstantInt : public VPIRValue {
/// A symbolic live-in VPValue, used for values like vector trip count, VF, and
/// VFxUF.
struct VPSymbolicValue : public VPValue {
- VPSymbolicValue() : VPValue(VPVSymbolicSC, nullptr) {}
+ VPSymbolicValue(Type *Ty = nullptr)
----------------
ayalz wrote:
Is the default null needed, there's no `setType()` to fill a missing type later.
https://github.com/llvm/llvm-project/pull/195183
More information about the llvm-commits
mailing list