summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLLexer.cpp
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-04-20 05:14:40 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-04-20 05:14:40 +0000
commitb8bd232a3da38b11bb0b848ad2bd18d57319b9dc (patch)
tree89851559c908e128175716113c7d2205bc44d09b /llvm/lib/AsmParser/LLLexer.cpp
parentffc445492cb7b3a78b042e32f956a4438aeda2c9 (diff)
downloadbcm5719-llvm-b8bd232a3da38b11bb0b848ad2bd18d57319b9dc.tar.gz
bcm5719-llvm-b8bd232a3da38b11bb0b848ad2bd18d57319b9dc.zip
Add CodeGen support for functions that always return arguments via a new parameter attribute 'returned', which is taken advantage of in target-independent tail call opportunity detection and in ARM call lowering (when placed on an integral first parameter).
llvm-svn: 179925
Diffstat (limited to 'llvm/lib/AsmParser/LLLexer.cpp')
-rw-r--r--llvm/lib/AsmParser/LLLexer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp
index f46383be7e4..e7a9f2ad1e3 100644
--- a/llvm/lib/AsmParser/LLLexer.cpp
+++ b/llvm/lib/AsmParser/LLLexer.cpp
@@ -582,6 +582,7 @@ lltok::Kind LLLexer::LexIdentifier() {
KEYWORD(optsize);
KEYWORD(readnone);
KEYWORD(readonly);
+ KEYWORD(returned);
KEYWORD(returns_twice);
KEYWORD(signext);
KEYWORD(sret);
OpenPOWER on IntegriCloud