This is the mail archive of the gcc@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: dom requires PROP_loops


On Mon, Mar 10, 2014 at 12:57 PM, Paulo Matos <pmatos@broadcom.com> wrote:
> Hello,
>
> In an attempt to test some optimization I destroyed the loop property in pass_tree_loop_done and reinstated it in pass_rtl_loop_init, however then I noticed that pass_dominator started generating wrong code.
> My guess is that we should mark pass_dominator with PROP_loops as a required property? Do you agree?

No, "PROP_loops" is something artificial.  Passes needing loops
will compute them (call loop_optimizer_init).

You probably did sth wrong with how you "destroy" PROP_loops.

Richard.

> Cheers,
>
> Paulo Matos
>
>


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