[PATCH] D101910: [llvm][NFC] Remove CallingConvLower deprecated alignment functions
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 5 07:33:30 PDT 2021
gchatelet created this revision.
gchatelet added a reviewer: courbet.
gchatelet requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101910
Files:
llvm/include/llvm/CodeGen/CallingConvLower.h
Index: llvm/include/llvm/CodeGen/CallingConvLower.h
===================================================================
--- llvm/include/llvm/CodeGen/CallingConvLower.h
+++ llvm/include/llvm/CodeGen/CallingConvLower.h
@@ -431,24 +431,8 @@
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,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101910.343043.patch
Type: text/x-patch
Size: 1318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210505/f12322ca/attachment.bin>
More information about the llvm-commits
mailing list