[PATCH] Improved dependence analysis

Sjodin, Jan Jan.Sjodin@amd.com
Mon Jul 30 18:20:00 GMT 2007


This patch improves the dependence analysis by allowing the extraction
of a constant offset from a base object when the base object address is
computed in a different statement. The patch passed bootstrap and make
check on amd64-linux. 

2007-07-30  Jan Sjodin  <jan.sjodin@amd.com>

	* tree-data-ref.c
	(split_constant_offset): Enable split_constant_offset to extract
	constants from other statements.
	* tree-vect-transform.c
	(vect_create_addr_base_for_vector_ref): Generate data_ref_base
	to a temp var. Force base_offset to be simple.

2007-07-30  Jan Sjodin  <jan.sjodin@amd.com>

	* gcc.dg/vect/vect-117.c: New test.
	* gcc.dg/vect/vect-74.c: Enabled test
	* gcc.dg/vect/vect-81.c: Enabled test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 001_base-offset.diff
Type: application/octet-stream
Size: 5534 bytes
Desc: 001_base-offset.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070730/89c7277d/attachment.obj>


More information about the Gcc-patches mailing list