aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
diff options
context:
space:
mode:
authorRobin Morisset <morisset@google.com>2014-09-17 00:06:58 +0000
committerRobin Morisset <morisset@google.com>2014-09-17 00:06:58 +0000
commit25c8e318e43682042d0b41a44877afe69753dfc9 (patch)
treecaee971ed4df820846f3ddea4a0fd9624e01c4ca /clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
parent6389a7da088e58694cccaf29f9c361028a0f4dd8 (diff)
downloadllvm-25c8e318e43682042d0b41a44877afe69753dfc9.zip
llvm-25c8e318e43682042d0b41a44877afe69753dfc9.tar.gz
llvm-25c8e318e43682042d0b41a44877afe69753dfc9.tar.bz2
[X86] Use the generic AtomicExpandPass instead of X86AtomicExpandPass
This required a new hook called hasLoadLinkedStoreConditional to know whether to expand atomics to LL/SC (ARM, AArch64, in a future patch Power) or to CmpXchg (X86). Apart from that, the new code in AtomicExpandPass is mostly moved from X86AtomicExpandPass. The main result of this patch is to get rid of that pass, which had lots of code duplicated with AtomicExpandPass. llvm-svn: 217928
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions