diff options
| author | Rishabh Bali <rishabhsbali@gmail.com> | 2024-02-25 18:42:22 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-25 18:42:22 +0530 |
| commit | fe42e72db29e48aa81eac2aa922afd90a7f01517 (patch) | |
| tree | 78612ad3c68a70f68bfc1fb5ae2bda704a55c68f /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
| parent | 4bf06c16fcddcfcea332069bdde5cbf1401513cf (diff) | |
[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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp index 3120b6b67906..b2f7ee970a73 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(); } |
