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)
commitdbf47836341087b7058187302fb980053ea08537
treedf74f5c7064ce8796058e1c0332e7ee92e40fc38
parent632aea92a57b5611cf54fc159cc3f77547a24ff7
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.
"""

llvm-svn: 166422
llvm/include/llvm/Attributes.h
llvm/lib/AsmParser/LLLexer.cpp
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/AsmParser/LLToken.h
llvm/lib/VMCore/Attributes.cpp