Skip to content
Commit 6644a611 authored by Craig Topper's avatar Craig Topper
Browse files

[RISCV] Add tests for suboptimal handling of negative constants on the LHS of...

[RISCV] Add tests for suboptimal handling of negative constants on the LHS of i32 shifts/rotates/subtracts on RV64. NFC

The constants end up getting zero extended to i64, but sign extend
would be better for constant materialization. We're using W
instructions so either behavior is correct since the upper bits
aren't read.
parent c10947b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment