From 7bba3f14bff0082e08861616c1d4b97660c43f84 Mon Sep 17 00:00:00 2001 From: Quentin Colombet Date: Tue, 30 Oct 2012 16:33:19 +0000 Subject: Change ForceSizeOpt attribute into MinSize attribute llvm-svn: 167021 --- clang/lib/CodeGen/CGCall.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CGCall.cpp') 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) -- cgit v1.2.3