Skip to content

Commit 2f0153a

Browse files
[SelectionDAG] Remove deprecated getLoad, getStore, etc
These functions have been deprecated since: commit 8b1d86a Author: Guillaume Chatelet <gchatelet@google.com> Date: Mon Jan 23 10:08:01 2023 +0000 commit 355cc3f Author: Guillaume Chatelet <gchatelet@google.com> Date: Tue Jan 24 10:39:58 2023 +0000 Differential Revision: https://reviews.llvm.org/D159448
1 parent 666098c commit 2f0153a

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

llvm/include/llvm/CodeGen/SelectionDAG.h

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,18 +1343,6 @@ class SelectionDAG {
13431343
MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone,
13441344
const AAMDNodes &AAInfo = AAMDNodes(),
13451345
const MDNode *Ranges = nullptr);
1346-
/// FIXME: Remove once transition to Align is over.
1347-
LLVM_DEPRECATED("Use the getLoad function that takes a MaybeAlign instead",
1348-
"")
1349-
inline SDValue
1350-
getLoad(EVT VT, const SDLoc &dl, SDValue Chain, SDValue Ptr,
1351-
MachinePointerInfo PtrInfo, unsigned Alignment,
1352-
MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone,
1353-
const AAMDNodes &AAInfo = AAMDNodes(),
1354-
const MDNode *Ranges = nullptr) {
1355-
return getLoad(VT, dl, Chain, Ptr, PtrInfo, MaybeAlign(Alignment), MMOFlags,
1356-
AAInfo, Ranges);
1357-
}
13581346
SDValue getLoad(EVT VT, const SDLoc &dl, SDValue Chain, SDValue Ptr,
13591347
MachineMemOperand *MMO);
13601348
SDValue
@@ -1385,19 +1373,6 @@ class SelectionDAG {
13851373
Alignment.value_or(getEVTAlign(MemVT)), MMOFlags, AAInfo,
13861374
Ranges);
13871375
}
1388-
/// FIXME: Remove once transition to Align is over.
1389-
LLVM_DEPRECATED("Use the getLoad function that takes a MaybeAlign instead",
1390-
"")
1391-
inline SDValue
1392-
getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT,
1393-
const SDLoc &dl, SDValue Chain, SDValue Ptr, SDValue Offset,
1394-
MachinePointerInfo PtrInfo, EVT MemVT, unsigned Alignment,
1395-
MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone,
1396-
const AAMDNodes &AAInfo = AAMDNodes(),
1397-
const MDNode *Ranges = nullptr) {
1398-
return getLoad(AM, ExtType, VT, dl, Chain, Ptr, Offset, PtrInfo, MemVT,
1399-
MaybeAlign(Alignment), MMOFlags, AAInfo, Ranges);
1400-
}
14011376
SDValue getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT,
14021377
const SDLoc &dl, SDValue Chain, SDValue Ptr, SDValue Offset,
14031378
EVT MemVT, MachineMemOperand *MMO);
@@ -1421,16 +1396,6 @@ class SelectionDAG {
14211396
Alignment.value_or(getEVTAlign(Val.getValueType())),
14221397
MMOFlags, AAInfo);
14231398
}
1424-
/// FIXME: Remove once transition to Align is over.
1425-
LLVM_DEPRECATED("Use the version that takes a MaybeAlign instead", "")
1426-
inline SDValue
1427-
getStore(SDValue Chain, const SDLoc &dl, SDValue Val, SDValue Ptr,
1428-
MachinePointerInfo PtrInfo, unsigned Alignment,
1429-
MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone,
1430-
const AAMDNodes &AAInfo = AAMDNodes()) {
1431-
return getStore(Chain, dl, Val, Ptr, PtrInfo, MaybeAlign(Alignment),
1432-
MMOFlags, AAInfo);
1433-
}
14341399
SDValue getStore(SDValue Chain, const SDLoc &dl, SDValue Val, SDValue Ptr,
14351400
MachineMemOperand *MMO);
14361401
SDValue
@@ -1448,16 +1413,6 @@ class SelectionDAG {
14481413
Alignment.value_or(getEVTAlign(SVT)), MMOFlags,
14491414
AAInfo);
14501415
}
1451-
/// FIXME: Remove once transition to Align is over.
1452-
LLVM_DEPRECATED("Use the version that takes a MaybeAlign instead", "")
1453-
inline SDValue
1454-
getTruncStore(SDValue Chain, const SDLoc &dl, SDValue Val, SDValue Ptr,
1455-
MachinePointerInfo PtrInfo, EVT SVT, unsigned Alignment,
1456-
MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone,
1457-
const AAMDNodes &AAInfo = AAMDNodes()) {
1458-
return getTruncStore(Chain, dl, Val, Ptr, PtrInfo, SVT,
1459-
MaybeAlign(Alignment), MMOFlags, AAInfo);
1460-
}
14611416
SDValue getTruncStore(SDValue Chain, const SDLoc &dl, SDValue Val,
14621417
SDValue Ptr, EVT SVT, MachineMemOperand *MMO);
14631418
SDValue getIndexedStore(SDValue OrigStore, const SDLoc &dl, SDValue Base,

0 commit comments

Comments
 (0)