[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:55:03 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:

This method shouldn't be updating `dependenceConstraints` within itself - it's meant to be an input to this, and its user doesn't expect/want it to be updated.

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


More information about the Mlir-commits mailing list