diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-10-22 17:33:31 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-10-22 17:33:31 +0000 |
commit | dbf47836341087b7058187302fb980053ea08537 (patch) | |
tree | df74f5c7064ce8796058e1c0332e7ee92e40fc38 /llvm/lib/AsmParser/LLLexer.cpp | |
parent | 632aea92a57b5611cf54fc159cc3f77547a24ff7 (diff) | |
download | bcm5719-llvm-dbf47836341087b7058187302fb980053ea08537.tar.gz bcm5719-llvm-dbf47836341087b7058187302fb980053ea08537.zip |
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
Diffstat (limited to 'llvm/lib/AsmParser/LLLexer.cpp')
-rw-r--r-- | llvm/lib/AsmParser/LLLexer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp index 2ad0010fd12..464dfd51d67 100644 --- a/llvm/lib/AsmParser/LLLexer.cpp +++ b/llvm/lib/AsmParser/LLLexer.cpp @@ -557,6 +557,7 @@ lltok::Kind LLLexer::LexIdentifier() { KEYWORD(naked); KEYWORD(nonlazybind); KEYWORD(address_safety); + KEYWORD(forcesizeopt); KEYWORD(type); KEYWORD(opaque); |