[llvm][NFC] Remove deprecated TargetFrameLowering and InstrTypes alignment functions

Differential Revision: https://reviews.llvm.org/D102056
This commit is contained in:
Guillaume Chatelet 2021-05-07 09:12:56 +00:00
parent f876383384
commit eb1b26ec1d
2 changed files with 0 additions and 23 deletions

View File

@ -110,14 +110,6 @@ public:
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.

View File

@ -1708,24 +1708,9 @@ public:
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);