[llvm] [CodeGen] Port FreeMachineFunction to new pass manager (PR #79421)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 00:40:48 PST 2024


================
@@ -125,8 +125,8 @@ MACHINE_FUNCTION_ANALYSIS("pass-instrumentation", PassInstrumentationAnalysis,
 #ifndef MACHINE_FUNCTION_PASS
 #define MACHINE_FUNCTION_PASS(NAME, PASS_NAME, CONSTRUCTOR)
 #endif
+MACHINE_FUNCTION_PASS("free-machine-function", FreeMachineFunctionPass, ())
----------------
arsenm wrote:

do we somehow block running this with -run-pass? What happens if you manually run this on its own or before other passes?

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


More information about the llvm-commits mailing list