Commit ab9e91f9 by Bin Cheng Committed by Bin Cheng

tree-ssa-loop-ivopts.c (determine_set_costs): Skip non-interger when counting register pressure.

	* tree-ssa-loop-ivopts.c (determine_set_costs): Skip non-interger
	when counting register pressure.

From-SVN: r247898
parent e292d606
2017-05-11 Bin Cheng <bin.cheng@arm.com> 2017-05-11 Bin Cheng <bin.cheng@arm.com>
* tree-ssa-loop-ivopts.c (determine_set_costs): Skip non-interger
when counting register pressure.
2017-05-11 Bin Cheng <bin.cheng@arm.com>
* tree-ssa-loop-ivopts.c (compare_cost_pair): New. * tree-ssa-loop-ivopts.c (compare_cost_pair): New.
(iv_ca_more_deps): Renamed to ... (iv_ca_more_deps): Renamed to ...
(iv_ca_compare_deps): ... this. (iv_ca_compare_deps): ... this.
......
...@@ -5577,6 +5577,10 @@ determine_set_costs (struct ivopts_data *data) ...@@ -5577,6 +5577,10 @@ determine_set_costs (struct ivopts_data *data)
if (get_iv (data, op)) if (get_iv (data, op))
continue; continue;
if (!POINTER_TYPE_P (TREE_TYPE (op))
&& !INTEGRAL_TYPE_P (TREE_TYPE (op)))
continue;
n++; n++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment