[lto][patch] Disable ipcp in ltrans for now
Rafael Espindola
espindola@google.com
Thu Mar 12 14:59:00 GMT 2009
IPCP has a hard time running in the presence of clones created by
wpa's inlining decisions. Two proposed solution (both by Honza I
think) are
1) Apply the inline decisions in ltrans before starting the pass manager
2) Use the pretty-ipa branch improvements
Diego experimented a bit with 1, but there were some issues.
For now, this patch just disables ipcp in ltrans so that we can move
on to other problems.
2009-03-12 Rafael Avila de Espindola <espindola@google.com>
* ipa-cp.c (cgraph_gate_cp): Disable ipcp if in ltrans.
2009-03-12 Rafael Avila de Espindola <espindola@google.com>
* gcc.dg/lto/20090312_0.c: New.
* gcc.dg/lto/20090312_1.c: New.
Cheers,
--
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix.patch
Type: text/x-diff
Size: 1440 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090312/cb7f3e7c/attachment.bin>
More information about the Gcc-patches
mailing list