[PATCH] D101909: [llvm][NFC] Remove SelectionDag alignment deprecated functions
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 6 00:44:28 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1fa21bf9e999: [llvm][NFC] Remove SelectionDag alignment deprecated functions (authored by gchatelet).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101909/new/
https://reviews.llvm.org/D101909
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
@@ -1014,48 +1014,17 @@
/// stack arguments from being clobbered.
SDValue getStackArgumentTokenFactor(SDValue Chain);
- LLVM_ATTRIBUTE_DEPRECATED(SDValue getMemcpy(SDValue Chain, const SDLoc &dl,
- SDValue Dst, SDValue Src,
- SDValue Size, unsigned Align,
- bool isVol, bool AlwaysInline,
- bool isTailCall,
- MachinePointerInfo DstPtrInfo,
- MachinePointerInfo SrcPtrInfo),
- "Use the version that takes Align instead") {
- return getMemcpy(Chain, dl, Dst, Src, Size, llvm::Align(Align), isVol,
- AlwaysInline, isTailCall, DstPtrInfo, SrcPtrInfo);
- }
-
SDValue getMemcpy(SDValue Chain, const SDLoc &dl, SDValue Dst, SDValue Src,
SDValue Size, Align Alignment, bool isVol,
bool AlwaysInline, bool isTailCall,
MachinePointerInfo DstPtrInfo,
MachinePointerInfo SrcPtrInfo);
- LLVM_ATTRIBUTE_DEPRECATED(SDValue getMemmove(SDValue Chain, const SDLoc &dl,
- SDValue Dst, SDValue Src,
- SDValue Size, unsigned Align,
- bool isVol, bool isTailCall,
- MachinePointerInfo DstPtrInfo,
- MachinePointerInfo SrcPtrInfo),
- "Use the version that takes Align instead") {
- return getMemmove(Chain, dl, Dst, Src, Size, llvm::Align(Align), isVol,
- isTailCall, DstPtrInfo, SrcPtrInfo);
- }
SDValue getMemmove(SDValue Chain, const SDLoc &dl, SDValue Dst, SDValue Src,
SDValue Size, Align Alignment, bool isVol, bool isTailCall,
MachinePointerInfo DstPtrInfo,
MachinePointerInfo SrcPtrInfo);
- LLVM_ATTRIBUTE_DEPRECATED(SDValue getMemset(SDValue Chain, const SDLoc &dl,
- SDValue Dst, SDValue Src,
- SDValue Size, unsigned Align,
- bool isVol, bool isTailCall,
- MachinePointerInfo DstPtrInfo),
- "Use the version that takes Align instead") {
- return getMemset(Chain, dl, Dst, Src, Size, llvm::Align(Align), isVol,
- isTailCall, DstPtrInfo);
- }
SDValue getMemset(SDValue Chain, const SDLoc &dl, SDValue Dst, SDValue Src,
SDValue Size, Align Alignment, bool isVol, bool isTailCall,
MachinePointerInfo DstPtrInfo);
@@ -1177,19 +1146,6 @@
Size, AAInfo);
}
- LLVM_ATTRIBUTE_DEPRECATED(
- inline SDValue getMemIntrinsicNode(
- unsigned Opcode, const SDLoc &dl, SDVTList VTList,
- ArrayRef<SDValue> Ops, EVT MemVT, MachinePointerInfo PtrInfo,
- unsigned Alignment,
- MachineMemOperand::Flags Flags = MachineMemOperand::MOLoad |
- MachineMemOperand::MOStore,
- uint64_t Size = 0, const AAMDNodes &AAInfo = AAMDNodes()),
- "") {
- return getMemIntrinsicNode(Opcode, dl, VTList, Ops, MemVT, PtrInfo,
- MaybeAlign(Alignment), Flags, Size, AAInfo);
- }
-
SDValue getMemIntrinsicNode(unsigned Opcode, const SDLoc &dl, SDVTList VTList,
ArrayRef<SDValue> Ops, EVT MemVT,
MachineMemOperand *MMO);
@@ -1917,14 +1873,6 @@
/// inferred.
MaybeAlign InferPtrAlign(SDValue Ptr) const;
- LLVM_ATTRIBUTE_DEPRECATED(inline unsigned InferPtrAlignment(SDValue Ptr)
- const,
- "Use InferPtrAlign instead") {
- if (auto A = InferPtrAlign(Ptr))
- return A->value();
- return 0;
- }
-
/// Compute the VTs needed for the low/hi parts of a type
/// which is split (or expanded) into two not necessarily identical pieces.
std::pair<EVT, EVT> GetSplitDestVTs(const EVT &VT) const;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101909.343316.patch
Type: text/x-patch
Size: 4610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210506/547edac6/attachment.bin>
More information about the llvm-commits
mailing list