summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMTargetMachine.cpp
diff options
context:
space:
mode:
authorRobin Morisset <morisset@google.com>2014-08-21 21:50:01 +0000
committerRobin Morisset <morisset@google.com>2014-08-21 21:50:01 +0000
commit59c23cd946e6df7bef50e02fa28797469fecd805 (patch)
tree90c7d21dd14fd8eb2177c13bec57178f1cebfb33 /llvm/lib/Target/ARM/ARMTargetMachine.cpp
parenta21fee0ee403731a198926ce63e7b6958419f53a (diff)
downloadbcm5719-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/ARM/ARMTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetMachine.cpp b/llvm/lib/Target/ARM/ARMTargetMachine.cpp
index fc164ada35f..3e5840d51b6 100644
--- a/llvm/lib/Target/ARM/ARMTargetMachine.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetMachine.cpp
@@ -161,7 +161,7 @@ void ARMPassConfig::addIRPasses() {
if (TM->Options.ThreadModel == ThreadModel::Single)
addPass(createLowerAtomicPass());
else
- 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
OpenPOWER on IntegriCloud