[Mlir-commits] [mlir] [MLIR][Affine] NFC. Fix/improve debug messages for affine analysis/fusion utils (PR #127164)

Uday Bondhugula llvmlistbot at llvm.org
Thu Feb 13 22:57:00 PST 2025


================
@@ -1804,29 +1804,28 @@ void mlir::affine::getComputationSliceState(
   unsigned pos = isBackwardSlice ? numSrcLoopIVs + loopDepth : loopDepth;
   unsigned num =
       isBackwardSlice ? numDstLoopIVs - loopDepth : numSrcLoopIVs - loopDepth;
-  dependenceConstraints->projectOut(pos, num);
+  FlatAffineValueConstraints sliceCst(dependenceConstraints);
----------------
bondhugula wrote:

Strictly speaking, it was incorrect behavior to have been updating 'dependenceConstraints' - this is a `get` method. The doc comment already mentions it as input. I'll update the commit summary to reflect the fix.

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


More information about the Mlir-commits mailing list