This patch adds VPWidenIntOrFpInductionRecipe::isCanonical to check if
an induction recipe is canonical. The code is also updated to use it
instead of isCanonicalID.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
If LLVM_ENABLE_ASSERTIONS=OFF then isCanonical is not defined.
See line 1077 of llvm/lib/Transforms/Vectorize/VPlan.cpp:
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
Edit: (Thanks Florian for fixing already!)