r223402 - in /trunk/gcc: ChangeLog loop-invaria...
law@gcc.gnu.org
law@gcc.gnu.org
Tue May 19 17:37:00 GMT 2015
Author: law
Date: Tue May 19 17:37:45 2015
New Revision: 223402
URL: https://gcc.gnu.org/viewcvs?rev=223402&root=gcc&view=rev
Log:
2015-05-19 David Sherwood <david.sherwood@arm.com>
* loop-invariant.c (create_new_invariant): Don't calculate address cost
if mode is not a scalar integer.
(get_inv_cost): Increase computational cost for unused invariants.
* gcc.dg/loop-invariant.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/loop-invariant.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/loop-invariant.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list