diff options
author | Aditya Kumar <aditya.k7@samsung.com> | 2015-08-18 13:07:08 -0500 |
---|---|---|
committer | Aditya Kumar <aditya.k7@samsung.com> | 2015-08-27 14:47:11 -0500 |
commit | 4eb84d2bc49c3e210e30683186b4f9272994f026 (patch) | |
tree | 8b0b94e25b8d17b25e274cef17a8c82810fb967b /gcc-4.9/gcc/testsuite/gnat.dg/addr6.adb | |
parent | 6cf9a82e4165911e0df28baf66d71b33253108a6 (diff) | |
download | toolchain_gcc-4eb84d2bc49c3e210e30683186b4f9272994f026.tar.gz toolchain_gcc-4eb84d2bc49c3e210e30683186b4f9272994f026.tar.bz2 toolchain_gcc-4eb84d2bc49c3e210e30683186b4f9272994f026.zip |
Cherry-pick: PR tree-optimization/65447
commit ad478851f7dd45438a9b33ecd7f30a4e6ab00388
Author: amker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed May 20 05:15:56 2015 +0000
PR tree-optimization/65447
* tree-ssa-loop-ivopts.c (struct iv_use): New fields.
(dump_use, dump_uses): Support to dump sub use.
(record_use): New parameters to support sub use. Remove call to
dump_use.
(record_sub_use, record_group_use): New functions.
(compute_max_addr_offset, split_all_small_groups): New functions.
(group_address_uses, rewrite_use_address): New functions.
(strip_offset): New declaration.
(find_interesting_uses_address): Call record_group_use.
(add_candidate): New assertion.
(infinite_cost_p): Move definition forward.
(add_costs): Check INFTY cost and return immediately.
(get_computation_cost_at): Clear setup cost and dependent bitmap
for sub uses.
(determine_use_iv_cost_address): Compute cost for sub uses.
(rewrite_use_address_1): Rename from old rewrite_use_address.
(free_loop_data): Free sub uses.
(tree_ssa_iv_optimize_loop): Call group_address_uses.
gcc/testsuite
PR tree-optimization/65447
* gcc.dg/tree-ssa/pr65447.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223433 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gnat.dg/addr6.adb')
0 files changed, 0 insertions, 0 deletions