[llvm] [SDAG][NVPTX] Cache control metadata support and lowering (PR #204067)
Antonio Frighetto via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 2 01:33:39 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,
----------------
antoniofrighetto wrote:
Agree the SDAG APIs would also deserve adopting the new struct (getTruncStore too, same for the overloads getExtLoad et al. in SelectionDAG.cpp)
https://github.com/llvm/llvm-project/pull/204067
More information about the llvm-commits
mailing list