[PATCH PR71347][Partial revert r235513]Compute cost for all uses in group

Bin Cheng Bin.Cheng@arm.com
Mon Jun 13 09:57:00 GMT 2016


Hi,
This patch partially reverts part of r235513 to fix PR71347, the original patch is to improve compilation time for a small amount.  Root cause as analyzed in bugzilla PR is that we can't skip computing cost for sub iv_use if it has different position to the first use in group.  The patch also includes a new test.

Bootstrap and test on x86_64.  Is it OK?

Thanks,
bin

2016-05-31  Bin Cheng  <bin.cheng@arm.com>

	PR tree-optimization/71347
	* tree-ssa-loop-ivopts.c (determine_group_iv_cost_address): Compute
	cost for all uses in group.

gcc/testsuite/ChangeLog
2016-05-31  Bin Cheng  <bin.cheng@arm.com>

	PR tree-optimization/71347
	* gcc.dg/tree-ssa/pr71347.c: New test.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr71347-20160531.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160613/dcf16dbb/attachment.txt>


More information about the Gcc-patches mailing list