summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Attributes.h6
1 files changed, 3 insertions, 3 deletions
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; }