[Mlir-commits] [mlir] [mlir][tosa] Fix crash in inferReturnTypes for ReduceOps (PR #69843)

Felix Schneider llvmlistbot at llvm.org
Sun Oct 22 11:07:40 PDT 2023


ubfx wrote:

When writing the test, I noticed that the ReduceOp folder has a similar issue where it crashes when the `axis` argument of the Op is too large for the shape.
What is the desired behaviour for a `tosa.reduce_*` Op when the axis is out of range? Is it supposed to be a No-Op, i.e. folded away or should we emit an error?


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


More information about the Mlir-commits mailing list