[llvm] [CodeGen] Port `GCInfoPrinter` to new pass manager (PR #74972)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 10 19:40:07 PST 2023
================
@@ -101,7 +189,7 @@ void Printer::getAnalysisUsage(AnalysisUsage &AU) const {
}
bool Printer::runOnFunction(Function &F) {
- if (F.hasGC())
+ if (!F.hasGC())
----------------
paperchalice wrote:
Selection dag inits some members in `GCModuleInfo` so this pass can dump `GCFunctionInfo` from the module.
Opinion from reviewers familiar with GC and instruction selector may be required.
https://github.com/llvm/llvm-project/pull/74972
More information about the llvm-commits
mailing list