aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.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/CodeGen/CodeGen.cpp
parenta21fee0ee403731a198926ce63e7b6958419f53a (diff)
downloadllvm-59c23cd946e6df7bef50e02fa28797469fecd805.zip
llvm-59c23cd946e6df7bef50e02fa28797469fecd805.tar.gz
llvm-59c23cd946e6df7bef50e02fa28797469fecd805.tar.bz2
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/CodeGen/CodeGen.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index 12b0411..307dec5 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -20,7 +20,7 @@ using namespace llvm;
/// initializeCodeGen - Initialize all passes linked into the CodeGen library.
void llvm::initializeCodeGen(PassRegistry &Registry) {
- initializeAtomicExpandLoadLinkedPass(Registry);
+ initializeAtomicExpandPass(Registry);
initializeBasicTTIPass(Registry);
initializeBranchFolderPassPass(Registry);
initializeCodeGenPreparePass(Registry);