[llvm] [LV] Fix emission of debug message in legality check (PR #101924)
Madhur Amilkanthwar via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 27 08:08:33 PDT 2024
================
@@ -1441,10 +1441,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");
----------------
madhur13490 wrote:
Done
https://github.com/llvm/llvm-project/pull/101924
More information about the llvm-commits
mailing list