[Mlir-commits] [mlir] [mlir][Arith] Fix crash when folding operations with dynamic-shaped tensors (PR #178428)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jan 28 06:37:45 PST 2026
mugiwaraluffy56 wrote:
@kuhar You're right, thanks for the clarification! I've converted the check in SelectOp::fold to an assertion since DenseElementsAttr guarantees static shapes by construction. Removed the select test that didn't exercise the code. The cmpi test exercises the getBoolAttribute fix which is the actual fix for the issue.
https://github.com/llvm/llvm-project/pull/178428
More information about the Mlir-commits
mailing list