aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.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/Target/WebAssembly/WebAssemblyTargetMachine.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/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
index 3120b6b..b2f7ee9 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
@@ -493,7 +493,7 @@ void WebAssemblyPassConfig::addISelPrepare() {
addPass(new CoalesceFeaturesAndStripAtomics(&getWebAssemblyTargetMachine()));
// This is a no-op if atomics are not used in the module
- addPass(createAtomicExpandPass());
+ addPass(createAtomicExpandLegacyPass());
TargetPassConfig::addISelPrepare();
}