summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLLexer.cpp
diff options
context:
space:
mode:
authorStefan Stipanovic <sstipanovic@s-energize.com>2019-07-11 21:37:40 +0000
committerStefan Stipanovic <sstipanovic@s-energize.com>2019-07-11 21:37:40 +0000
commit0626367202ced4ab46410c15357eed0ad8be6d5c (patch)
treeb501bcd56eabe89658e19db7b4497adc58b313e5 /llvm/lib/AsmParser/LLLexer.cpp
parent7d2019bb961f94eec476f255bb776d470ecd1b49 (diff)
downloadbcm5719-llvm-0626367202ced4ab46410c15357eed0ad8be6d5c.tar.gz
bcm5719-llvm-0626367202ced4ab46410c15357eed0ad8be6d5c.zip
[Attributor] Deduce "nosync" function attribute.
Introduce and deduce "nosync" function attribute to indicate that a function does not synchronize with another thread in a way that other thread might free memory. Reviewers: jdoerfert, jfb, nhaehnle, arsenm Subscribers: wdng, hfinkel, nhaenhle, mehdi_amini, steven_wu, dexonsmith, arsenm, uenoku, hiraditya, jfb, llvm-commits Differential Revision: https://reviews.llvm.org/D62766 llvm-svn: 365830
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 5bc628dac1f..2c2361a6abc 100644
--- a/llvm/lib/AsmParser/LLLexer.cpp
+++ b/llvm/lib/AsmParser/LLLexer.cpp
@@ -658,6 +658,7 @@ lltok::Kind LLLexer::LexIdentifier() {
KEYWORD(nonnull);
KEYWORD(noredzone);
KEYWORD(noreturn);
+ KEYWORD(nosync);
KEYWORD(nocf_check);
KEYWORD(nounwind);
KEYWORD(optforfuzzing);
OpenPOWER on IntegriCloud