[PATCH] D159448: [SelectionDAG] Remove deprecated getLoad, getStore, etc
Kazu Hirata via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 5 07:33:34 PDT 2023
kazu created this revision.
Herald added a project: All.
kazu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
These functions have been deprecated since:
commit 8b1d86aedf13a22e283ee334304063febdaec9c7
Author: Guillaume Chatelet <gchatelet at google.com>
Date: Mon Jan 23 10:08:01 2023 +0000
commit 355cc3fd8c63f4bddfd328f62c2d9413f492a7fd
Author: Guillaume Chatelet <gchatelet at google.com>
Date: Tue Jan 24 10:39:58 2023 +0000
Repository:
rG LLVM Github Monorepo
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.555864.patch
Type: text/x-patch
Size: 3917 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230905/f66a9237/attachment.bin>
More information about the llvm-commits
mailing list