[Mlir-commits] [mlir] [mlir] [scf] fix crash when conversion from scf to control flow (PR #107221)

Matthias Springer llvmlistbot at llvm.org
Wed Sep 4 04:38:45 PDT 2024


https://github.com/matthias-springer commented:

`scf.parallel` should always have a terminator. Are you running the pass with invalid IR?

This is what the documentation says: `The body region must contain exactly one block that terminates with a scf.reduce operation. If an scf.parallel op has no reductions, the terminator has no operands and no regions.`


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


More information about the Mlir-commits mailing list