[RFC: Patch 3/6 v2] Remove if_info->branch_cost

James Greenhalgh james.greenhalgh@arm.com
Tue Jun 21 15:51:00 GMT 2016


Hi,

This patch removes what is left of branch_cost uses, moving them to use
the new hook and tagging each left over spot with a TODO to revisit them.
All these uses are in rtx costs units, so we don't have more work to do at
this point.

Bootstrapped as part of the patch series on aarch64 and x86-64.

OK?

Thanks,
James

---
2016-06-21  James Greenhalgh  <james.greenhalgh@arm.com>

	* ifcvt.c (noce_if_info): Remove branch_cost.
	(noce_try_store_flag_mask): Use max_seq_cost rather than
	branch_cost, tag as a TODO..
	(noce_try_cmove_arith): Likewise.
	(noce_convert_multiple_sets): Likewise.
	(bb_ok_for_noce_convert_multiple_sets): Likewise.
	(noce_find_if_block): Remove set of branch_cost.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-RFC-Patch-3-6-v2-Remove-if_info-branch_cost.patch
Type: text/x-patch
Size: 2777 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160621/2445bf4d/attachment.bin>


More information about the Gcc-patches mailing list