[llvm] [LoopInterchange] Ignore the cost-model, force interchange if legal (PR #148858)
Ryotaro Kasuga via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 18 02:18:55 PDT 2025
================
@@ -1311,6 +1324,9 @@ bool LoopInterchangeProfitability::isProfitable(
shouldInterchange =
isProfitableForVectorization(InnerLoopId, OuterLoopId, DepMatrix);
break;
+ case RuleTy::Ignore:
+ // Nothing to do, this has no effect.
----------------
kasuga-fj wrote:
Maybe using `llvm_unreachable` is better?
https://github.com/llvm/llvm-project/pull/148858
More information about the llvm-commits
mailing list