[llvm] Add Instruction selection support for x87 ld/st (PR #97016)
Malay Sanghi via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 5 01:28:16 PDT 2024
================
@@ -195,6 +195,14 @@ X86InstructionSelector::getRegClass(LLT Ty, const RegisterBank &RB) const {
return &X86::VR512RegClass;
}
+ if (RB.getID() == X86::PSRRegBankID) {
+ if (Ty.getSizeInBits() == 80)
+ return &X86::RFP80RegClass;
+ if (Ty.getSizeInBits() == 64)
+ return &X86::RFP64RegClass;
+ return &X86::RFP32RegClass;
----------------
MalaySanghi wrote:
Fixed
https://github.com/llvm/llvm-project/pull/97016
More information about the llvm-commits
mailing list