[llvm] Add Instruction selection support for x87 ld/st (PR #97016)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 05:02:49 PDT 2024


================
@@ -1525,7 +1544,7 @@ bool X86InstructionSelector::materializeFP(MachineInstr &I,
 
     MachineMemOperand *MMO = MF.getMachineMemOperand(
         MachinePointerInfo::getConstantPool(MF), MachineMemOperand::MOLoad,
-        LLT::pointer(0, MF.getDataLayout().getPointerSizeInBits()), Alignment);
+        LLT::pointer(0, DataLayout.getPointerSizeInBits()), Alignment);
----------------
arsenm wrote:

Technically this should probably query the default global address space, but preexisting 

https://github.com/llvm/llvm-project/pull/97016


More information about the llvm-commits mailing list