[Mlir-commits] [mlir] [mlir][Transforms] Dialect Conversion: Fix folder rollback (PR #150775)
Matthias Springer
llvmlistbot at llvm.org
Sat Jul 26 09:22:32 PDT 2025
================
@@ -2245,16 +2269,10 @@ OperationLegalizer::legalizeWithFold(Operation *op,
"op '" + opName +
"' folder rollback of IR modifications requested");
}
- // Legalization failed: erase all materialized constants.
- for (Operation *op : newOps)
----------------
matthias-springer wrote:
Note: This is no longer necessary. `resetState` will erase these ops.
https://github.com/llvm/llvm-project/pull/150775
More information about the Mlir-commits
mailing list