backport: arm.c (neon_dereference_pointer): Do not call covert during RTL expansion.

2012-05-25  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

	Backport from mainline
        2012-03-12  Richard Guenther  <rguenther@suse.de>
	* config/arm/arm.c (neon_dereference_pointer): Do not call
	covert during RTL expansion.

From-SVN: r187876
This commit is contained in:
Ramana Radhakrishnan 2012-05-25 09:57:57 +00:00 committed by Ramana Radhakrishnan
parent 9503b6e5a5
commit d624eb46c9
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2012-05-25 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
Backport from mainline
2012-03-12 Richard Guenther <rguenther@suse.de>
* config/arm/arm.c (neon_dereference_pointer): Do not call
covert during RTL expansion.
2012-05-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport from mainline

View File

@ -20604,9 +20604,8 @@ neon_dereference_pointer (tree exp, enum machine_mode mem_mode,
array_type = build_array_type (elem_type, build_index_type (upper_bound));
/* Dereference EXP using that type. */
exp = convert (build_pointer_type (array_type), exp);
return fold_build2 (MEM_REF, array_type, exp,
build_int_cst (TREE_TYPE (exp), 0));
build_int_cst (build_pointer_type (array_type), 0));
}
/* Expand a Neon builtin. */