[llvm] [CodeGen] Port AtomicExpand to new Pass Manager (PR #71220)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 12 18:25:07 PST 2024


================
@@ -429,6 +429,7 @@ FUNCTION_PASS("strip-gc-relocates", StripGCRelocates())
 FUNCTION_PASS("structurizecfg", StructurizeCFGPass())
 FUNCTION_PASS("tailcallelim", TailCallElimPass())
 FUNCTION_PASS("typepromotion", TypePromotionPass(TM))
+FUNCTION_PASS("atomicexpand", AtomicExpandPass(TM))
----------------
paperchalice wrote:

Would `expand-atomic` be a better name? We already have `expand-large-div-rem`, `expand-large-fp-convert` and `expand-memcmp`:
https://github.com/llvm/llvm-project/blob/7dd4d28e4196fad83ed78ea342d65e7eaec4a6f1/llvm/lib/Passes/PassRegistry.def#L315-L317

https://github.com/llvm/llvm-project/pull/71220


More information about the llvm-commits mailing list