[llvm] [VPlan] Only use selectVectorizationFactor for cross-check (NFCI). (PR #103033)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 01:07:09 PDT 2024
================
@@ -1695,6 +1695,10 @@ VPlan &LoopVectorizationPlanner::getPlanFor(ElementCount VF) const {
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void LoopVectorizationPlanner::printPlans(raw_ostream &O) {
+ if (VPlans.empty()) {
+ O << "LV: Not VPlans built.";
----------------
fhahn wrote:
Fixed thanks!
https://github.com/llvm/llvm-project/pull/103033
More information about the llvm-commits
mailing list