Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RISC-V: Add addi-x0 support for small immediates
Currently immediates in the range of -2**11 to 2**11-1 generate a lui 0 call. This can be optimized to addi x0 directly when setting a register. Signed-Off-By: Patrick O'Neill <[email protected]>
- Loading branch information