How to add a new pass?
Georg-Johann Lay
avr@gjlay.de
Tue Jul 19 17:02:00 GMT 2011
Romain Geissler schrieb:
> Hi
>
> Le 19 juil. 2011 à 18:13, Georg-Johann Lay a écrit :
>> How can a backend add a pass?
>
> I've never seen any warning about adding a backend pass in
> the plugin documentation, which may also register passes thanks
> to register_pass. I'm not a guru, but i think it's ok to add it as any
> other pass (might need confirmation).
There's no plugin involved.
The code that likes to add passes (tree-ssa and rtl) is inside
the backend of the compiler proper.
Johann
More information about the Gcc
mailing list