diff options
author | anjenner <161845516+anjenner@users.noreply.github.com> | 2024-09-06 16:19:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-06 16:19:20 +0100 |
commit | 4af249fe6e81abd137c95bc25f5060ae305134ca (patch) | |
tree | 3cac4128f1db8c7e5dacab690448d3f4e12178e6 /llvm/lib/AsmParser/LLLexer.cpp | |
parent | 109cd11dc4aea6b3596f8b2cb5a719f35b190cfa (diff) | |
download | llvm-4af249fe6e81abd137c95bc25f5060ae305134ca.zip llvm-4af249fe6e81abd137c95bc25f5060ae305134ca.tar.gz llvm-4af249fe6e81abd137c95bc25f5060ae305134ca.tar.bz2 |
Add usub_cond and usub_sat operations to atomicrmw (#105568)
These both perform conditional subtraction, returning the minuend and
zero respectively, if the difference is negative.
Diffstat (limited to 'llvm/lib/AsmParser/LLLexer.cpp')
-rw-r--r-- | llvm/lib/AsmParser/LLLexer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp index 7c97f7a..a3e47da 100644 --- a/llvm/lib/AsmParser/LLLexer.cpp +++ b/llvm/lib/AsmParser/LLLexer.cpp @@ -704,6 +704,8 @@ lltok::Kind LLLexer::LexIdentifier() { KEYWORD(umin); KEYWORD(fmax); KEYWORD(fmin); KEYWORD(uinc_wrap); KEYWORD(udec_wrap); + KEYWORD(usub_cond); + KEYWORD(usub_sat); KEYWORD(splat); KEYWORD(vscale); |