[Mlir-commits] [mlir] [MLIR] Fix crash in int-range-optimizations on type-mismatched IR (PR #183964)

Krzysztof Drewniak llvmlistbot at llvm.org
Sun Mar 1 12:25:09 PST 2026


https://github.com/krzysz00 commented:

I can see how this would come up, and I do know the llvm.return in a func.func (it lets you convert the body of a function to be converted before the function itself). 

As to the fix I'd argue for implicit sign/zero-exrension if the range is to short but I can see failing as valid.

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


More information about the Mlir-commits mailing list