[llvm] [VPlan] Add initial anlysis to infer scalar type of VPValues. (PR #69013)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 26 17:12:47 PDT 2023
================
@@ -2192,6 +2194,8 @@ class VPDerivedIVRecipe : public VPRecipeBase, public VPValue {
VPSlotTracker &SlotTracker) const override;
#endif
+ Type *getScalarType() const { return TruncResultTy; }
----------------
ayalz wrote:
Check if TruncResultTy is null, similar to VPWidenIntOrFpInductionRecipe::getScalarType() above?
https://github.com/llvm/llvm-project/pull/69013
More information about the llvm-commits
mailing list