diff --git a/llvm/include/llvm/CodeGen/TargetFrameLowering.h b/llvm/include/llvm/CodeGen/TargetFrameLowering.h --- a/llvm/include/llvm/CodeGen/TargetFrameLowering.h +++ b/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. diff --git a/llvm/include/llvm/IR/InstrTypes.h b/llvm/include/llvm/IR/InstrTypes.h --- a/llvm/include/llvm/IR/InstrTypes.h +++ b/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);