[PATCH] D159448: [SelectionDAG] Remove deprecated getLoad, getStore, etc
Kazu Hirata via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 5 13:35:17 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2f0153a756ff: [SelectionDAG] Remove deprecated getLoad, getStore, etc (authored by kazu).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159448/new/
https://reviews.llvm.org/D159448
Files:
llvm/include/llvm/CodeGen/SelectionDAG.h
Index: llvm/include/llvm/CodeGen/SelectionDAG.h
===================================================================
--- llvm/include/llvm/CodeGen/SelectionDAG.h
+++ llvm/include/llvm/CodeGen/SelectionDAG.h
@@ -1343,18 +1343,6 @@
MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone,
const AAMDNodes &AAInfo = AAMDNodes(),
const MDNode *Ranges = nullptr);
- /// FIXME: Remove once transition to Align is over.
- LLVM_DEPRECATED("Use the getLoad function that takes a MaybeAlign instead",
- "")
- inline SDValue
- getLoad(EVT VT, const SDLoc &dl, SDValue Chain, SDValue Ptr,
- MachinePointerInfo PtrInfo, unsigned Alignment,
- MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone,
- const AAMDNodes &AAInfo = AAMDNodes(),
- const MDNode *Ranges = nullptr) {
- return getLoad(VT, dl, Chain, Ptr, PtrInfo, MaybeAlign(Alignment), MMOFlags,
- AAInfo, Ranges);
- }
SDValue getLoad(EVT VT, const SDLoc &dl, SDValue Chain, SDValue Ptr,
MachineMemOperand *MMO);
SDValue
@@ -1385,19 +1373,6 @@
Alignment.value_or(getEVTAlign(MemVT)), MMOFlags, AAInfo,
Ranges);
}
- /// FIXME: Remove once transition to Align is over.
- LLVM_DEPRECATED("Use the getLoad function that takes a MaybeAlign instead",
- "")
- inline SDValue
- getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT,
- const SDLoc &dl, SDValue Chain, SDValue Ptr, SDValue Offset,
- MachinePointerInfo PtrInfo, EVT MemVT, unsigned Alignment,
- MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone,
- const AAMDNodes &AAInfo = AAMDNodes(),
- const MDNode *Ranges = nullptr) {
- return getLoad(AM, ExtType, VT, dl, Chain, Ptr, Offset, PtrInfo, MemVT,
- MaybeAlign(Alignment), MMOFlags, AAInfo, Ranges);
- }
SDValue getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT,
const SDLoc &dl, SDValue Chain, SDValue Ptr, SDValue Offset,
EVT MemVT, MachineMemOperand *MMO);
@@ -1421,16 +1396,6 @@
Alignment.value_or(getEVTAlign(Val.getValueType())),
MMOFlags, AAInfo);
}
- /// FIXME: Remove once transition to Align is over.
- LLVM_DEPRECATED("Use the version that takes a MaybeAlign instead", "")
- inline SDValue
- getStore(SDValue Chain, const SDLoc &dl, SDValue Val, SDValue Ptr,
- MachinePointerInfo PtrInfo, unsigned Alignment,
- MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone,
- const AAMDNodes &AAInfo = AAMDNodes()) {
- return getStore(Chain, dl, Val, Ptr, PtrInfo, MaybeAlign(Alignment),
- MMOFlags, AAInfo);
- }
SDValue getStore(SDValue Chain, const SDLoc &dl, SDValue Val, SDValue Ptr,
MachineMemOperand *MMO);
SDValue
@@ -1448,16 +1413,6 @@
Alignment.value_or(getEVTAlign(SVT)), MMOFlags,
AAInfo);
}
- /// FIXME: Remove once transition to Align is over.
- LLVM_DEPRECATED("Use the version that takes a MaybeAlign instead", "")
- inline SDValue
- getTruncStore(SDValue Chain, const SDLoc &dl, SDValue Val, SDValue Ptr,
- MachinePointerInfo PtrInfo, EVT SVT, unsigned Alignment,
- MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone,
- const AAMDNodes &AAInfo = AAMDNodes()) {
- return getTruncStore(Chain, dl, Val, Ptr, PtrInfo, SVT,
- MaybeAlign(Alignment), MMOFlags, AAInfo);
- }
SDValue getTruncStore(SDValue Chain, const SDLoc &dl, SDValue Val,
SDValue Ptr, EVT SVT, MachineMemOperand *MMO);
SDValue getIndexedStore(SDValue OrigStore, const SDLoc &dl, SDValue Base,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159448.555927.patch
Type: text/x-patch
Size: 3917 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230905/d8cc3fd4/attachment.bin>
More information about the llvm-commits
mailing list