Issue |
122996
|
Summary |
[MLIR][LLVM] Incorrect #llvm.constant_range import
|
Labels |
mlir
|
Assignees |
|
Reporter |
Kuree
|
See godbolt: https://godbolt.org/z/x34YarsrE
`range(i32 0, -2147483648)` is imported as `#llvm.constant_range<i32, 0, -2147483648>`, but `-2147483648` is internally stored as a 40-bit integer, causing the verifier to fail: https://github.com/llvm/llvm-project/blob/ebef44067bd0a2cd776b8baea39cffa7f602ce7b/mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp#L290-L293
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs