aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorRishabh Bali <rishabhsbali@gmail.com>2024-02-25 18:42:22 +0530
committerGitHub <noreply@github.com>2024-02-25 18:42:22 +0530
commitfe42e72db29e48aa81eac2aa922afd90a7f01517 (patch)
tree78612ad3c68a70f68bfc1fb5ae2bda704a55c68f /llvm/lib/CodeGen/CodeGen.cpp
parent4bf06c16fcddcfcea332069bdde5cbf1401513cf (diff)
downloadllvm-fe42e72db29e48aa81eac2aa922afd90a7f01517.zip
llvm-fe42e72db29e48aa81eac2aa922afd90a7f01517.tar.gz
llvm-fe42e72db29e48aa81eac2aa922afd90a7f01517.tar.bz2
[CodeGen] Port AtomicExpand to new Pass Manager (#71220)
Port the `atomicexpand` pass to the new Pass Manager. Fixes #64559
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 4180664..be18134 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -19,7 +19,7 @@ using namespace llvm;
/// initializeCodeGen - Initialize all passes linked into the CodeGen library.
void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeAssignmentTrackingAnalysisPass(Registry);
- initializeAtomicExpandPass(Registry);
+ initializeAtomicExpandLegacyPass(Registry);
initializeBasicBlockPathCloningPass(Registry);
initializeBasicBlockSectionsPass(Registry);
initializeBranchFolderPassPass(Registry);