diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2010-08-03 16:19:16 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2010-08-03 16:19:16 +0000 |
commit | 3bababf880bfeaf1bcda7e4f808007621b6bfac8 (patch) | |
tree | b196a4e4cd842b2ce6feb36357edbdc4adfdf9aa /include | |
parent | 795e70e4319bb38eb92701c2a463eeb7584a9b25 (diff) | |
download | external_llvm-3bababf880bfeaf1bcda7e4f808007621b6bfac8.zip external_llvm-3bababf880bfeaf1bcda7e4f808007621b6bfac8.tar.gz external_llvm-3bababf880bfeaf1bcda7e4f808007621b6bfac8.tar.bz2 |
Add an atomic lowering pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110113 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/LinkAllPasses.h | 1 | ||||
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/LinkAllPasses.h b/include/llvm/LinkAllPasses.h index 4068772..805db4e 100644 --- a/include/llvm/LinkAllPasses.h +++ b/include/llvm/LinkAllPasses.h @@ -148,6 +148,7 @@ namespace { (void) llvm::createABCDPass(); (void) llvm::createLintPass(); (void) llvm::createSinkingPass(); + (void) llvm::createLowerAtomicPass(); (void)new llvm::IntervalPartition(); (void)new llvm::FindUsedTypes(); diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 0d338b5..4d1d863 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -338,6 +338,12 @@ FunctionPass *createABCDPass(); // FunctionPass *createSinkingPass(); +//===----------------------------------------------------------------------===// +// +// LowerAtomic - Lower atomic intrinsics to non-atomic form +// +Pass *createLowerAtomicPass(); + } // End llvm namespace #endif |