[Mlir-commits] [mlir] [MLIR][LLVM] Fix #llvm.constant_range crashing in storage uniquer (PR #135772)
Robert Konicar
llvmlistbot at llvm.org
Tue Apr 15 05:51:59 PDT 2025
Jezurko wrote:
Yes, the core of the issue is that two APInts with different bit widths can not be compared. I believe in other attributes the issue will be often avoided by the fact, that they contain some information about the type and the comparison short-circuits before comparing the APInts.
I have a stack trace from when the assert is triggered:
[constant_range_crash.log](https://github.com/user-attachments/files/19758187/constant_range_crash.log)
I will try to extract the hash seed that causes it with the input I added to the tests.
https://github.com/llvm/llvm-project/pull/135772
More information about the Mlir-commits
mailing list