[llvm] [LoopInterchange] Prevent from undoing its own transformation (PR #127473)

Ryotaro Kasuga via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 23:36:44 PST 2025


================
@@ -388,6 +387,8 @@ class LoopInterchangeProfitability {
 
   /// Interface to emit optimization remarks.
   OptimizationRemarkEmitter *ORE;
+
+  const std::optional<CostMapTy> &CostMap;
----------------
kasuga-fj wrote:

Fixed

https://github.com/llvm/llvm-project/pull/127473


More information about the llvm-commits mailing list