[CallGraph] Port -print-callgraph-sccs to new pass manager
authorArthur Eubanks <aeubanks@google.com>
Fri, 7 Oct 2022 21:08:43 +0000 (14:08 -0700)
committerArthur Eubanks <aeubanks@google.com>
Tue, 11 Oct 2022 21:43:16 +0000 (14:43 -0700)
commit60e4af7ab8e64cec3c55e927a72cb06de0bb0c79
tree0d6370153ffeb4770c8e5e0fd8aef9071a052470
parent2d252a0f5cc2b320fd57f2eb9313a11bef74e793
[CallGraph] Port -print-callgraph-sccs to new pass manager

And remove the legacy opt-specific pass.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D135487
llvm/include/llvm/Analysis/CallGraph.h
llvm/lib/Analysis/CallGraph.cpp
llvm/lib/Passes/PassRegistry.def
llvm/test/Analysis/CallGraph/printer.ll [new file with mode: 0644]
llvm/tools/opt/PrintSCC.cpp