[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:52 PDT 2025


================
@@ -445,6 +450,17 @@ bool X86InstructionSelector::select(MachineInstr &I) {
   return false;
 }
 
+unsigned X86InstructionSelector::getPtrLoadStoreOp(const LLT &Ty,
+                                                   const RegisterBank &RB,
+                                                   unsigned Opc) const {
+  bool Isload = (Opc == TargetOpcode::G_LOAD);
----------------
RKSimon wrote:

(style) Isload -> IsLoad

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


More information about the llvm-commits mailing list