Skip to content

Commit 58a6efb

Browse files
committed
Debug message when ignore has no effect.
1 parent 82a3043 commit 58a6efb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Transforms/Scalar/LoopInterchange.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,9 +1321,9 @@ bool LoopInterchangeProfitability::isProfitable(
13211321
isProfitableForVectorization(InnerLoopId, OuterLoopId, DepMatrix);
13221322
break;
13231323
case RuleTy::Ignore:
1324-
// TODO? We ignore the force option when it appears in a list, i.e. it
1325-
// should occur as the only option to be effective, as mentioned in the
1326-
// help.
1324+
LLVM_DEBUG(dbgs() << "Interchange profitability: option 'ignore' has no "
1325+
"effect in combination with other options\n";
1326+
dbgs() << "To force interchange, only use 'ignore'");
13271327
break;
13281328
}
13291329

0 commit comments

Comments
 (0)