[Mlir-commits] [mlir] [mlir] make transform.foreach_match forward arguments (PR #89920)

Nicolas Vasilache llvmlistbot at llvm.org
Thu May 2 09:56:00 PDT 2024


================
@@ -866,6 +870,7 @@ matchBlock(Block &block, Operation *op, transform::TransformState &state,
   // Remember the values mapped to the terminator operands so we can
   // forward them to the action.
   ValueRange yieldedValues = block.getTerminator()->getOperands();
+  mappings.clear();
----------------
nicolasvasilache wrote:

I am not sure I understand why this is now necessary, does this merit a comment?

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


More information about the Mlir-commits mailing list