summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Attributes.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2012-10-30 16:32:52 +0000
committerQuentin Colombet <qcolombet@apple.com>2012-10-30 16:32:52 +0000
commit5799e9f66c22788fb2348d06c4432835bf38e059 (patch)
tree3ee47123ad66e76261daffeda3de813046125e0b /llvm/lib/VMCore/Attributes.cpp
parentbbffdd71eb2df0a46051ed6176258a80399996c5 (diff)
downloadbcm5719-llvm-5799e9f66c22788fb2348d06c4432835bf38e059.tar.gz
bcm5719-llvm-5799e9f66c22788fb2348d06c4432835bf38e059.zip
Change ForceSizeOpt attribute into MinSize attribute
llvm-svn: 167020
Diffstat (limited to 'llvm/lib/VMCore/Attributes.cpp')
-rw-r--r--llvm/lib/VMCore/Attributes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/VMCore/Attributes.cpp b/llvm/lib/VMCore/Attributes.cpp
index 642d4fcffb8..5a552c34e16 100644
--- a/llvm/lib/VMCore/Attributes.cpp
+++ b/llvm/lib/VMCore/Attributes.cpp
@@ -201,8 +201,8 @@ std::string Attributes::getAsString() const {
Result += "nonlazybind ";
if (hasAttribute(Attributes::AddressSafety))
Result += "address_safety ";
- if (hasAttribute(Attributes::ForceSizeOpt))
- Result += "forcesizeopt ";
+ if (hasAttribute(Attributes::MinSize))
+ Result += "minsize ";
if (hasAttribute(Attributes::StackAlignment)) {
Result += "alignstack(";
Result += utostr(getStackAlignment());
@@ -326,7 +326,7 @@ uint64_t AttributesImpl::getAttrMask(uint64_t Val) {
case Attributes::UWTable: return 1 << 30;
case Attributes::NonLazyBind: return 1U << 31;
case Attributes::AddressSafety: return 1ULL << 32;
- case Attributes::ForceSizeOpt: return 1ULL << 33;
+ case Attributes::MinSize: return 1ULL << 33;
}
llvm_unreachable("Unsupported attribute type");
}
OpenPOWER on IntegriCloud