[llvm] CodeGen: Port ExpandLargeDivRem to new pass manager (PR #71022)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 16:09:53 PDT 2023


================
@@ -445,6 +445,7 @@ FUNCTION_PASS("transform-warning", WarnMissedTransformationsPass())
 FUNCTION_PASS("tsan", ThreadSanitizerPass())
 FUNCTION_PASS("memprof", MemProfilerPass())
 FUNCTION_PASS("declare-to-assign", llvm::AssignmentTrackingPass())
+FUNCTION_PASS("expand-large-div-rem", ExpandLargeDivRemPass(TM));
----------------
arsenm wrote:

I mean this exists: https://github.com/llvm/llvm-project/blob/7b5505b0d597eddadd5ffd4bbf80a7e8804ec809/llvm/include/llvm/CodeGen/MachinePassRegistry.def#L46



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


More information about the llvm-commits mailing list