[llvm] [LV] Fix emission of debug message in legality check (PR #101924)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 27 08:32:26 PDT 2024
================
@@ -1451,10 +1451,12 @@ bool LoopVectorizationLegality::canVectorize(bool UseVPlanNativePath) {
// Check whether the loop-related control flow in the loop nest is expected by
// vectorizer.
if (!canVectorizeLoopNestCFG(TheLoop, UseVPlanNativePath)) {
- if (DoExtraAnalysis)
+ if (DoExtraAnalysis) {
+ LLVM_DEBUG(dbgs() << "LV: legality check failed: loop nest");
----------------
fhahn wrote:
unrelated to the original change?
https://github.com/llvm/llvm-project/pull/101924
More information about the llvm-commits
mailing list