From 49dd8e79913cc10676902fd2033a090758cf9b90 Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Tue, 9 Jun 2020 08:05:13 +0000 Subject: [PATCH] [Alignment] Fix deprecation message --- llvm/include/llvm/CodeGen/CallingConvLower.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/CodeGen/CallingConvLower.h b/llvm/include/llvm/CodeGen/CallingConvLower.h index ef2f25e7..cc3a75c 100644 --- a/llvm/include/llvm/CodeGen/CallingConvLower.h +++ b/llvm/include/llvm/CodeGen/CallingConvLower.h @@ -447,11 +447,11 @@ public: /// Version of AllocateStack with extra register to be shadowed. LLVM_ATTRIBUTE_DEPRECATED(unsigned AllocateStack(unsigned Size, - unsigned Align, + unsigned Alignment, unsigned ShadowReg), "Use the version that takes Align instead.") { MarkAllocated(ShadowReg); - return AllocateStack(Size, Align); + return AllocateStack(Size, Align(Alignment)); } /// Version of AllocateStack with list of extra registers to be shadowed. -- 2.7.4