aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKazushi (Jam) Marukawa <marukawa@nec.com>2020-12-12 12:27:32 +0900
committerKazushi (Jam) Marukawa <marukawa@nec.com>2020-12-15 17:43:11 +0900
commita2eb07aa55405f6e9bca0a0a31681053147e6540 (patch)
tree08735f23e6b8d37c75ce0b2ba8b955d405285d08 /clang/lib/Frontend/CompilerInvocation.cpp
parent14a91d676b794db09c14abecf363650a8fc90c61 (diff)
downloadllvm-a2eb07aa55405f6e9bca0a0a31681053147e6540.zip
llvm-a2eb07aa55405f6e9bca0a0a31681053147e6540.tar.gz
llvm-a2eb07aa55405f6e9bca0a0a31681053147e6540.tar.bz2
[VE] Support atomic exchange instructions
Support atomic exchange and atomic compare and exchange instructions. Change CAS and TS1AM instructions for ISel patterns. Add selectADDRzi pattern for them. Add TS1AM pseudo instruction also for better ISel. Add shouldExpandAtomicRMWInIR() function to expand all atomicrmw instructions except atomicrmw xchg. Add custom lower for i8/i16 atomicrmw xchg. Modify replaceFI to support CAS/TS1AM instructions which use "reg+disp" operands instead of "reg+imm+disp" operands. And, add several regression tests to check the correctness. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D93161
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions