[Mlir-commits] [mlir] [MLIR] Fix parsed integers exceeding the expected bitwidth (PR #119971)

Ivan R. Ivanov llvmlistbot at llvm.org
Sat Dec 14 06:38:55 PST 2024


ivanradanov wrote:

I am not sure whether we want the isSigned param or if the way I am doing the check for whether it fits in the provided bitwidth is correct so it would be great if I could get a check.

I put a static assert to the other function so that it is not erroneously called with APInt, and I fixed the two spots this happens.

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


More information about the Mlir-commits mailing list