[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
parent
e4246d90
Please register or sign in to comment