summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2012-10-30 16:33:19 +0000
committerQuentin Colombet <qcolombet@apple.com>2012-10-30 16:33:19 +0000
commit7bba3f14bff0082e08861616c1d4b97660c43f84 (patch)
tree7bc8ee39f072cde990f1c8331463c39be58090ee /clang/lib/CodeGen/CGCall.cpp
parent5799e9f66c22788fb2348d06c4432835bf38e059 (diff)
downloadbcm5719-llvm-7bba3f14bff0082e08861616c1d4b97660c43f84.tar.gz
bcm5719-llvm-7bba3f14bff0082e08861616c1d4b97660c43f84.zip
Change ForceSizeOpt attribute into MinSize attribute
llvm-svn: 167021
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r--clang/lib/CodeGen/CGCall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index f09332efc6b..0b3e9deb3f5 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -969,7 +969,7 @@ void CodeGenModule::ConstructAttributeList(const CGFunctionInfo &FI,
if (CodeGenOpts.OptimizeSize)
FuncAttrs.addAttribute(llvm::Attributes::OptimizeForSize);
if (CodeGenOpts.OptimizeSize == 2)
- FuncAttrs.addAttribute(llvm::Attributes::ForceSizeOpt);
+ FuncAttrs.addAttribute(llvm::Attributes::MinSize);
if (CodeGenOpts.DisableRedZone)
FuncAttrs.addAttribute(llvm::Attributes::NoRedZone);
if (CodeGenOpts.NoImplicitFloat)
OpenPOWER on IntegriCloud