[llvm] [X86][GlobalISel] Support addr matching in SDAG patterns (PR #130445)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 24 03:32:53 PDT 2025


================
@@ -530,30 +546,75 @@ unsigned X86InstructionSelector::getLoadStoreOp(const LLT &Ty,
 }
 
 // Fill in an address from the given instruction.
-static void X86SelectAddress(const MachineInstr &I,
+static bool X86SelectAddress(MachineInstr &I, const X86TargetMachine &TM,
----------------
RKSimon wrote:

why isn't MachineInstr const anymore?

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


More information about the llvm-commits mailing list