[llvm] [CodeGen] Port `GCInfoPrinter` to new pass manager (PR #74972)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 10 21:29:32 PST 2023


================
@@ -101,7 +189,7 @@ void Printer::getAnalysisUsage(AnalysisUsage &AU) const {
 }
 
 bool Printer::runOnFunction(Function &F) {
-  if (F.hasGC())
+  if (!F.hasGC())
----------------
arsenm wrote:

There isn't really an opportunity to run the printing pass within/after the DAG, so I don't think it really matters

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


More information about the llvm-commits mailing list