Another question. How can I dump gimple IR after optimization pass?

Haifeng He hehaifeng2nd@gmail.com
Thu Feb 28 06:32:00 GMT 2008


That is very convenient. Thanks again.

Haifeng

On Wed, Feb 27, 2008 at 4:17 PM, Diego Novillo <dnovillo@google.com> wrote:
>
>  On 27-Feb-08, at 17:44 , Haifeng He wrote:
>
>  > Thank you for the response. I guess if I only want to check the result
>  > of my own pass without
>  > any other optimization, I still need to write my own dump function.
>
>  No, you simply need to mark a ToDo item in the pass descriptor.  See
>  for instance, pass_vrp and look for TODO_dump_func.
>
>
>  Diego.
>



More information about the Gcc-help mailing list