[llvm] [VPlan] Add specialized VPValue subclasses for different types (NFC) (PR #172758)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 27 12:15:23 PST 2025
================
@@ -2311,8 +2315,10 @@ bool VPWidenIntOrFpInductionRecipe::isCanonical() const {
// 1, which is represented as live-in.
if (getStepValue()->getDefiningRecipe())
----------------
ayalz wrote:
Better dyn_cast StepValue to a LiveIn, bailing out if it ain't. (In any case, better check isa than if getDefiningRecipe() returns null.)
https://github.com/llvm/llvm-project/pull/172758
More information about the llvm-commits
mailing list