Removing deficiency of initial implementation of -print-before-all/-after-all - it was effectively skipping IR printing for all the SCC passes.
Now LazyCallGraph:SCC gets its IR printed.
Details
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 23791 Build 23790: arc lint + arc unit
Event Timeline
lib/Passes/StandardInstrumentations.cpp | ||
---|---|---|
40 | CallGraphSCC is a legacy thing for legacy CallGraphSCCPass. |
lib/Passes/StandardInstrumentations.cpp | ||
---|---|---|
75 | Still believe you could do break in case you found a module. |
It is a bugfix that adds missing functionality of actually printing an SCC. :)
When doing initial implementation I got a wrong assumption that SCC does not need to be printed since it will be printed on Function level.
For actual SCC passes this assumption is clearly wrong. And it gets fixed now.
what about CallGraphSCC?
I seen an implementation for LazyCakkGraph but do not see for CallGraphSCC?