Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RISCV] Add test cases that show failure to use some W instructions i…
…f they are proceeded by a load. NFC The loads end up becoming sextload/zextload which prevent our isel patterns from finding the sign_extend_inreg or AND instruction we need. The easiest way to fix this is to use computeKnownBits or ComputeNumSignBits in our isel matching to catch this.
- Loading branch information
Showing
4 changed files
with
344 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.