diff options
author | Tim Northover <tnorthover@apple.com> | 2014-04-17 18:22:47 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-04-17 18:22:47 +0000 |
commit | 037f26f2123e10f8b5c01cf5eb2cceaa254ad9b7 (patch) | |
tree | 91f87342c946b2076c3c38cff655c8fcb0ed2f0e /llvm/lib/CodeGen/CodeGen.cpp | |
parent | d874ea281f3e6725a3e58c53691ca9111b04950f (diff) | |
download | bcm5719-llvm-037f26f2123e10f8b5c01cf5eb2cceaa254ad9b7.tar.gz bcm5719-llvm-037f26f2123e10f8b5c01cf5eb2cceaa254ad9b7.zip |
Atomics: promote ARM's IR-based atomics pass to CodeGen.
Still only 32-bit ARM using it at this stage, but the promotion allows
direct testing via opt and is a reasonably self-contained patch on the
way to switching ARM64.
At this point, other targets should be able to make use of it without
too much difficulty if they want. (See ARM64 commit coming soon for an
example).
llvm-svn: 206485
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp index 17402f066da..b3beac3932b 100644 --- a/llvm/lib/CodeGen/CodeGen.cpp +++ b/llvm/lib/CodeGen/CodeGen.cpp @@ -20,6 +20,7 @@ using namespace llvm; /// initializeCodeGen - Initialize all passes linked into the CodeGen library. void llvm::initializeCodeGen(PassRegistry &Registry) { + initializeAtomicExpandLoadLinkedPass(Registry); initializeBasicTTIPass(Registry); initializeBranchFolderPassPass(Registry); initializeCodeGenPreparePass(Registry); |