ddmetro wrote:
Hi All,
         We are adding a new pass for - structural hazard optimization - in
gcc.
         We have added a rtl_opt_pass variable(pass_sched3) declaration in
tree-pass.h and defined the same in a new file - sched-by-category.c

In addition of all the other good hints, you might perhaps try to make your pass a plugin of GCC; your use is a good case for a plugin.

Plugins are available in the latest GCC trunk (future 4.5) and should be enabled at 
configure (& also gcc use) time.

See http://gcc.gnu.org/onlinedocs/gccint/Plugins.html

Regards.
--
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***

Reply via email to