[llvm] [SDAG][NVPTX] Cache control metadata support and lowering (PR #204067)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 1 12:49:12 PDT 2026


================
@@ -1522,41 +1522,46 @@ class SelectionDAG {
   ///
   /// This function will set the MOLoad flag on MMOFlags, but you can set it if
   /// you want.  The MOStore flag must not be set.
-  LLVM_ABI SDValue getLoad(
-      EVT VT, const SDLoc &dl, SDValue Chain, SDValue Ptr,
-      MachinePointerInfo PtrInfo, MaybeAlign Alignment = MaybeAlign(),
-      MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone,
-      const AAMDNodes &AAInfo = AAMDNodes(), const MDNode *Ranges = nullptr);
+  LLVM_ABI SDValue
+  getLoad(EVT VT, const SDLoc &dl, SDValue Chain, SDValue Ptr,
+          MachinePointerInfo PtrInfo, MaybeAlign Alignment = MaybeAlign(),
+          MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone,
+          const AAMDNodes &AAInfo = AAMDNodes(), const MDNode *Ranges = nullptr,
----------------
arsenm wrote:

The full set of getLoad and getStore overloads are nasty enough as it is. Change these over to use the new structure?

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


More information about the llvm-commits mailing list