[all-commits] [llvm/llvm-project] c08c9f: [RISCV] Use getSignedConstant for negative values....
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Feb 5 21:01:17 PST 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: c08c9f97f93b29842fbfd80791088abf42c753ca
https://github.com/llvm/llvm-project/commit/c08c9f97f93b29842fbfd80791088abf42c753ca
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-02-05 (Wed, 05 Feb 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/vp-combine-reverse-load.ll
M llvm/test/CodeGen/RISCV/rvv/vp-combine-store-reverse.ll
Log Message:
-----------
[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.
(cherry picked from commit 0d7ee520d3a9b8997adf8eaaa22b33db9659d94e)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list