diff options
author | Robin Morisset <morisset@google.com> | 2014-08-21 21:50:01 +0000 |
---|---|---|
committer | Robin Morisset <morisset@google.com> | 2014-08-21 21:50:01 +0000 |
commit | 59c23cd946e6df7bef50e02fa28797469fecd805 (patch) | |
tree | 90c7d21dd14fd8eb2177c13bec57178f1cebfb33 /llvm/lib/Target/AArch64/AArch64TargetMachine.cpp | |
parent | a21fee0ee403731a198926ce63e7b6958419f53a (diff) | |
download | bcm5719-llvm-59c23cd946e6df7bef50e02fa28797469fecd805.tar.gz bcm5719-llvm-59c23cd946e6df7bef50e02fa28797469fecd805.zip |
Rename AtomicExpandLoadLinked into AtomicExpand
AtomicExpandLoadLinked is currently rather ARM-specific. This patch is the first of
a group that aim at making it more target-independent. See
http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-August/075873.html
for details
The command line option is "atomic-expand"
llvm-svn: 216231
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64TargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64TargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp index f3172a62f03..e04fe1b5a97 100644 --- a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp +++ b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp @@ -144,7 +144,7 @@ TargetPassConfig *AArch64TargetMachine::createPassConfig(PassManagerBase &PM) { void AArch64PassConfig::addIRPasses() { // Always expand atomic operations, we don't deal with atomicrmw or cmpxchg // ourselves. - addPass(createAtomicExpandLoadLinkedPass(TM)); + addPass(createAtomicExpandPass(TM)); // Cmpxchg instructions are often used with a subsequent comparison to // determine whether it succeeded. We can exploit existing control-flow in |