Add the "ForceSizeOpt" attribute.
authorNadav Rotem <nrotem@apple.com>
Mon, 22 Oct 2012 17:33:31 +0000 (17:33 +0000)
committerNadav Rotem <nrotem@apple.com>
Mon, 22 Oct 2012 17:33:31 +0000 (17:33 +0000)
commite743942bc8f8b067e014b8cbd2a205a53c7c67f9
treeb19333deb9ae6ffccc5dad9fd0c62635361288ed
parent5f7d81022398f332b222552f5d980c4e3f1c542c
Add the "ForceSizeOpt" attribute.

Patch by Quentin Colombet <qcolombet@apple.com>

Original description:
"""
The attached patch is the first step to have a better control on Oz related optimizations.
The Oz optimization level focuses on code size, thus I propose to add an attribute called ForceSizeOpt.
"""

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166422 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Attributes.h
lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLToken.h
lib/VMCore/Attributes.cpp