diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2010-02-11 15:45:27 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2010-02-11 15:45:27 +0000 |
commit | 04eadb13265b69db0282da8803f13e357a129079 (patch) | |
tree | 816517506e1c41ef333a3003809df242999218a4 /gcc/tree-ssa-pre.c | |
parent | 91753e21c33ee0f333e529487d67a1ff60b30655 (diff) | |
download | gcc-04eadb13265b69db0282da8803f13e357a129079.zip gcc-04eadb13265b69db0282da8803f13e357a129079.tar.gz gcc-04eadb13265b69db0282da8803f13e357a129079.tar.bz2 |
re PR regression/40886 (No loop counter reversal for simple loops anymore)
Fix PR40886.
2010-02-11 Sebastian Pop <sebastian.pop@amd.com>
Changpeng Fang <changpeng.fang@amd.com>
PR middle-end/40886
* tree-ssa-loop-ivopts.c (determine_use_iv_cost_condition): Decrement
the cost of an IV candidate when the IV is used in a test against zero.
* gcc.dg/tree-ssa/ivopts-3.c: New.
Co-Authored-By: Changpeng Fang <changpeng.fang@amd.com>
From-SVN: r156701
Diffstat (limited to 'gcc/tree-ssa-pre.c')
0 files changed, 0 insertions, 0 deletions