[llvm] 089ec04 - [llvm][NFC] Remove CallingConvLower deprecated alignment functions
Guillaume Chatelet via llvm-commits
llvm-commits at lists.llvm.org
Thu May 6 00:46:30 PDT 2021
Author: Guillaume Chatelet
Date: 2021-05-06T07:46:19Z
New Revision: 089ec047bea8f6a0a47d8c4ad5142e9ca8b5aed9
URL: https://github.com/llvm/llvm-project/commit/089ec047bea8f6a0a47d8c4ad5142e9ca8b5aed9
DIFF: https://github.com/llvm/llvm-project/commit/089ec047bea8f6a0a47d8c4ad5142e9ca8b5aed9.diff
LOG: [llvm][NFC] Remove CallingConvLower deprecated alignment functions
Differential Revision: https://reviews.llvm.org/D101910
Added:
Modified:
llvm/include/llvm/CodeGen/CallingConvLower.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/CallingConvLower.h b/llvm/include/llvm/CodeGen/CallingConvLower.h
index 5cf523f394b0..8dbcd6b8ab7d 100644
--- a/llvm/include/llvm/CodeGen/CallingConvLower.h
+++ b/llvm/include/llvm/CodeGen/CallingConvLower.h
@@ -431,24 +431,8 @@ class CCState {
return Result;
}
- // FIXME: Deprecate this function when transition to Align is over.
- LLVM_ATTRIBUTE_DEPRECATED(unsigned AllocateStack(unsigned Size,
- unsigned Alignment),
- "Use the version that takes Align instead.") {
- return AllocateStack(Size, Align(Alignment));
- }
-
void ensureMaxAlignment(Align Alignment);
- /// Version of AllocateStack with extra register to be shadowed.
- LLVM_ATTRIBUTE_DEPRECATED(unsigned AllocateStack(unsigned Size,
- unsigned Alignment,
- unsigned ShadowReg),
- "Use the version that takes Align instead.") {
- MarkAllocated(ShadowReg);
- return AllocateStack(Size, Align(Alignment));
- }
-
/// Version of AllocateStack with list of extra registers to be shadowed.
/// Note that, unlike AllocateReg, this shadows ALL of the shadow registers.
unsigned AllocateStack(unsigned Size, Align Alignment,
More information about the llvm-commits
mailing list