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 that we're too aggressive about usin…
…g greviw/gorciw. NFC We currently type legalize to the W form, but type legalization doesn't place any requirements on the extended bits. So we are ok to use GREVI/GORCI for type legalization as long as the control doesn't cross any bits from the extended bits into the lower bits. This can allow us to recognize cases where the extended bits end up being all zeros and we can propagate that information through. My plan is to move greviw/gorciw formation to isel patterns similar to slliw.
- Loading branch information
Showing
3 changed files
with
189 additions
and
90 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
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.