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:
parent
9503b6e5a5
commit
d624eb46c9
|
@ -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
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue