[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
    
    
  
================
@@ -472,6 +482,10 @@ unsigned X86InstructionSelector::getLoadStoreOp(const LLT &Ty,
                     : (HasAVX512 ? X86::VMOVSDZmr :
                        HasAVX    ? X86::VMOVSDmr :
                                    X86::MOVSDmr);
+    if (X86::PSRRegBankID == RB.getID())
+      return Isload ? X86::LD_Fp64m : X86::ST_Fp64m;
+  } else if (Ty == LLT::scalar(80) || Ty == LLT::pointer(0, 80)) {
----------------
MalaySanghi wrote:
Fixed
https://github.com/llvm/llvm-project/pull/97016
    
    
More information about the llvm-commits
mailing list