This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR/46200 -- ivopt bug in test condition cost computation
- From: Zdenek Dvorak <rakdver at kam dot mff dot cuni dot cz>
- To: Xinliang David Li <davidxl at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 30 Oct 2010 21:30:16 +0200
- Subject: Re: Fix PR/46200 -- ivopt bug in test condition cost computation
- References: <AANLkTi=TiOqvQsCGUwAP+BdYuNKoXkMR+bUPAJ3LP=8d@mail.gmail.com>
Hi,
> Hi, please review the patch attached. Regression and some performance
> test is under going.
it would be more consistent to either avoid using aff_combination functions
in get_computation_cost_at completely, or rewrite it to use aff_combination
instead of the current difference_cost/... functions (however, the latter
would probably lead to somewhat slower compilation time). The patch should
also include a testcase for the problem.
Thanks for working on this,
Zdenek