[Mlir-commits] [mlir] [mlir][SCF] Add `RecursiveMemoryEffects` to `scf.reduce` (PR #75314)
Matthias Springer
llvmlistbot at llvm.org
Wed Dec 13 16:50:26 PST 2023
matthias-springer wrote:
`scf.parallel` expects that the number of op results is the same as the number of `scf.reduce` ops in its body. If we fold it away, the enclosing `scf.parallel` op will no longer verify.
`scf.reduce` is kind of like a terminator that yields values to the enclosing op. But it does not have to be the last op and can appear anywhere in the body of the `scf.parallel`.
https://github.com/llvm/llvm-project/pull/75314
More information about the Mlir-commits
mailing list