[llvm][NFC] Remove deprecated TargetFrameLowering and InstrTypes alignment functions
Differential Revision: https://reviews.llvm.org/D102056
This commit is contained in:
parent
f876383384
commit
eb1b26ec1d
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue