[PATCH GCC][10/13]Compute and cache data dependence relation

Bin Cheng Bin.Cheng@arm.com
Mon Jun 12 17:03:00 GMT 2017


Hi,
This patch computes and caches data dependence relation in a hash table
so that it can be queried multiple times later for partition dependence
check.
Bootstrap and test on x86_64 and AArch64.  Is it OK?

Thanks,
bin

2017-06-07  Bin Cheng  <bin.cheng@arm.com>

	* tree-loop-distribution.c (struct ddr_entry, ddr_entry_hasher): New.
	(ddr_entry_hasher::hash, ::equal, get_data_dependence): New function.
	(ddrs_vec, ddrs_table): New.
	(classify_partition): Call get_data_dependence.
	(pg_add_dependence_edges): Ditto.
	(distribute_loop): Initialize data dependence global variables.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0010-cache-data-dependence-20170607.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170612/e0dcd04f/attachment.txt>


More information about the Gcc-patches mailing list