diff options
author | Craig Topper <craig.topper@sifive.com> | 2025-02-05 14:49:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-05 14:49:01 -0800 |
commit | 0d7ee520d3a9b8997adf8eaaa22b33db9659d94e (patch) | |
tree | 43ac9a0ff662cc131da49aefc3aef87eeeeb87db /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | de7be32734dc789ba35602a58f37a14f764ebd58 (diff) | |
download | llvm-0d7ee520d3a9b8997adf8eaaa22b33db9659d94e.zip llvm-0d7ee520d3a9b8997adf8eaaa22b33db9659d94e.tar.gz llvm-0d7ee520d3a9b8997adf8eaaa22b33db9659d94e.tar.bz2 |
[RISCV] Use getSignedConstant for negative values. (#125903)
The APInt constructor asserts if bits are set past the size of the APInt
unless it is signed. This currently fails on RV32 because more than XLen
bits are set.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions