[PATCH] D102056: [llvm][NFC] Remove deprecated TargetFrameLowering and InstrTypes alignment functions
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 7 03:21:47 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGeb1b26ec1d1a: [llvm][NFC] Remove deprecated TargetFrameLowering and InstrTypes alignment… (authored by gchatelet).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102056/new/
https://reviews.llvm.org/D102056
Files:
llvm/include/llvm/CodeGen/TargetFrameLowering.h
llvm/include/llvm/IR/InstrTypes.h
Index: llvm/include/llvm/IR/InstrTypes.h
===================================================================
--- llvm/include/llvm/IR/InstrTypes.h
+++ llvm/include/llvm/IR/InstrTypes.h
@@ -1708,24 +1708,9 @@
dataOperandHasImpliedAttr(OpNo + 1, Attribute::ReadNone);
}
- LLVM_ATTRIBUTE_DEPRECATED(unsigned getRetAlignment() const,
- "Use getRetAlign() instead") {
- if (const auto MA = Attrs.getRetAlignment())
- return MA->value();
- return 0;
- }
-
/// Extract the alignment of the return value.
MaybeAlign getRetAlign() const { return Attrs.getRetAlignment(); }
- /// Extract the alignment for a call or parameter (0=unknown).
- LLVM_ATTRIBUTE_DEPRECATED(unsigned getParamAlignment(unsigned ArgNo) const,
- "Use getParamAlign() instead") {
- if (const auto MA = Attrs.getParamAlignment(ArgNo))
- return MA->value();
- return 0;
- }
-
/// Extract the alignment for a call or parameter (0=unknown).
MaybeAlign getParamAlign(unsigned ArgNo) const {
return Attrs.getParamAlignment(ArgNo);
Index: llvm/include/llvm/CodeGen/TargetFrameLowering.h
===================================================================
--- llvm/include/llvm/CodeGen/TargetFrameLowering.h
+++ llvm/include/llvm/CodeGen/TargetFrameLowering.h
@@ -110,14 +110,6 @@
return SPAdj;
}
- /// getTransientStackAlignment - This method returns the number of bytes to
- /// which the stack pointer must be aligned at all times, even between
- /// calls.
- ///
- LLVM_ATTRIBUTE_DEPRECATED(unsigned getTransientStackAlignment() const,
- "Use getTransientStackAlign instead") {
- return TransientStackAlignment.value();
- }
/// getTransientStackAlignment - This method returns the number of bytes to
/// which the stack pointer must be aligned at all times, even between
/// calls.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102056.343629.patch
Type: text/x-patch
Size: 1912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210507/6e2c977e/attachment.bin>
More information about the llvm-commits
mailing list