-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RISCV] Use GPR register class for RV64 ZDInx. Remove GPRF64 register…
… class. The GPRF64 has the same spill size as GPR and is only used for RV64. There's no real reason to have it as a separate class other than for type inference for isel patterns in tablegen. This patch adds f64 to the GPR register class when XLen=64. I use f32 when XLen=32 even though we don't make use of it just to avoid the oddity. isel patterns have been updated to fix the lack of type infererence. I might do similar for GPRF16 and GPRF32 or I might change them to use an optimized spill size instead of always using XLen. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D153110
- Loading branch information
Showing
16 changed files
with
294 additions
and
287 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
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.