This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]