[Mlir-commits] [mlir] [mlir][transform] Plumb a simplified form of AffineMin folding into t… (PR #145170)

Nicolas Vasilache llvmlistbot at llvm.org
Mon Jun 23 03:04:48 PDT 2025


================
@@ -3044,7 +3116,7 @@ static void composeSetAndOperands(IntegerSet &set,
 LogicalResult AffineIfOp::fold(FoldAdaptor, SmallVectorImpl<OpFoldResult> &) {
   auto set = getIntegerSet();
   SmallVector<Value, 4> operands(getOperands());
-  composeSetAndOperands(set, operands);
+  composeSetAndOperands(set, operands, /*composeAffineMin=*/false);
----------------
nicolasvasilache wrote:

Yes, I used compiler errors to guide me to all the places I needed to fix to properly plug the bool in, I can clean up now, thanks for catching!

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


More information about the Mlir-commits mailing list