This is the mail archive of the gcc-patches@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: [lto][patch] Move the call to execute_all_ipa_transforms to cgraphunit.c


Hi,
we definitly should have nothrow IPA pass same as we do for const/pure
call discovery.  However in current implementation
pass_set_nothrow_functoin_flags is RTL pass done at late compilation
and pass_execute_fixup_cfg exists there precisely to fixup function
bodies after this pass being executed on callees (we compile in
topological order) and also to cleanup after other passes, such as
pure/const discovery that does not update themselves.
(today pure/const passes probably could do the job in their transform
hooks, but on the other hand it is practical to couple all the cleanup
work to single pass)

How this picture change in LTO? I would expect that RTL compilation
queue is pretty much unchanged.

Honza


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