diff options
author | Florian Hahn <flo@fhahn.com> | 2024-05-03 15:49:20 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2024-05-03 15:49:20 +0100 |
commit | 40cc96e7ece74479957ae5680b9e04b7743a000c (patch) | |
tree | 95ac0465c4e88982c16485adebfc49ceab36f86b | |
parent | 1cde1240ed6e45012d7510f4aa39badbdb4a4721 (diff) |
[VPlan] Remove unused VPWidenCanonicalIVRecipe::getScalarType (NFCI).
After a48ebb8276408fa88cf7060ddc68f4eda1b62def, the function is no
longer used. Remove it.
-rw-r--r-- | llvm/lib/Transforms/Vectorize/VPlan.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Transforms/Vectorize/VPlan.h b/llvm/lib/Transforms/Vectorize/VPlan.h index 67059bc17c7c..461d7ec59862 100644 --- a/llvm/lib/Transforms/Vectorize/VPlan.h +++ b/llvm/lib/Transforms/Vectorize/VPlan.h @@ -2710,12 +2710,6 @@ public: void print(raw_ostream &O, const Twine &Indent, VPSlotTracker &SlotTracker) const override; #endif - - /// Returns the scalar type of the induction. - const Type *getScalarType() const { - return cast<VPCanonicalIVPHIRecipe>(getOperand(0)->getDefiningRecipe()) - ->getScalarType(); - } }; /// A recipe for converting the input value \p IV value to the corresponding |