From 9a419f656e278b96e9dfe739cd63c7bff9a4e1fd Mon Sep 17 00:00:00 2001 From: Quentin Colombet Date: Tue, 30 Oct 2012 16:32:52 +0000 Subject: Change ForceSizeOpt attribute into MinSize attribute git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167020 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Attributes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/llvm') diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h index 5350e3ea2d..5ace200803 100644 --- a/include/llvm/Attributes.h +++ b/include/llvm/Attributes.h @@ -58,9 +58,9 @@ public: ///< 0 means unaligned different from align 1 AlwaysInline, ///< inline=always ByVal, ///< Pass structure by value - ForceSizeOpt, ///< Function must be optimized for size first InlineHint, ///< Source said inlining was desirable InReg, ///< Force argument to be passed in register + MinSize, ///< Function must be optimized for size first Naked, ///< Naked function Nest, ///< Nested function static chain NoAlias, ///< Considered to not alias after call @@ -154,7 +154,7 @@ public: hasAttribute(Attributes::NonLazyBind) || hasAttribute(Attributes::ReturnsTwice) || hasAttribute(Attributes::AddressSafety) || - hasAttribute(Attributes::ForceSizeOpt); + hasAttribute(Attributes::MinSize); } bool operator==(const Attributes &A) const { @@ -266,7 +266,7 @@ public: .removeAttribute(Attributes::NonLazyBind) .removeAttribute(Attributes::ReturnsTwice) .removeAttribute(Attributes::AddressSafety) - .removeAttribute(Attributes::ForceSizeOpt); + .removeAttribute(Attributes::MinSize); } uint64_t Raw() const { return Bits; } -- cgit v1.2.3