Georg-Johann Lay <a...@gjlay.de> writes: > In the internals, there is no description of a backend > can add a new pass. And no backend uses > passes.c:register_pass (4.5 and 4.7), so here is the question: > > How can a backend add a pass?
I don't think anybody has ever done this. At the moment only plugins add new passes. But I agree that backends clearly need to be able to do this, and some passes need to move into the appropriate backends. I would encourage you to fix this. Ian