[Mlir-commits] [mlir] [mlir][SCF] Add `RecursiveMemoryEffects` to `scf.reduce` (PR #75314)
Matthias Springer
llvmlistbot at llvm.org
Wed Dec 13 02:58:03 PST 2023
matthias-springer wrote:
Based on the failing tests, it looks like this change can cause `scf.reduce` ops to fold away. I'm wondering if there is a way to indicate that this op is free of side effects, and at the same time preventing the op from being folded away.
Motivation for this change: I am changing #75127 such that all ops with unknown memory effects will be rejected by the buffer deallocation pass. `scf.reduce` ops are rejected in my current prototype.
https://github.com/llvm/llvm-project/pull/75314
More information about the Mlir-commits
mailing list