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
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Passes/StandardInstrumentations.cpp | ||
---|---|---|
40 ↗ | (On Diff #169654) | CallGraphSCC is a legacy thing for legacy CallGraphSCCPass. |
lib/Passes/StandardInstrumentations.cpp | ||
---|---|---|
75 ↗ | (On Diff #169655) | Still believe you could do break in case you found a module. |
Comment Actions
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.