Commit 3743c639 by Uros Bizjak Committed by Uros Bizjak

simplify-rtx.c (simplify_binary_operation_1): Change CONST_VECTOR_ELT to XVECEXP…

simplify-rtx.c (simplify_binary_operation_1): Change CONST_VECTOR_ELT to XVECEXP in elem calculation.

	* simplify-rtx.c (simplify_binary_operation_1) [VEC_SELECT]:
	Change CONST_VECTOR_ELT to XVECEXP in elem calculation.

From-SVN: r127902
parent 7b74f495
2007-08-29 Uros Bizjak <ubizjak@gmail.com>
* simplify-rtx.c (simplify_binary_operation_1) [VEC_SELECT]:
Change CONST_VECTOR_ELT to XVECEXP in elem calculation.
2007-08-29 Richard Guenther <rguenther@suse.de>
* tree-pretty-print.c (dump_generic_node): Print
......
......@@ -2685,7 +2685,7 @@ simplify_binary_operation_1 (enum rtx_code code, enum machine_mode mode,
gcc_assert (i < n_elts);
/* Select element, pointed by nested selector. */
elem = INTVAL (CONST_VECTOR_ELT (op1, i));
elem = INTVAL (XVECEXP (op1, 0, i));
/* Handle the case when nested VEC_SELECT wraps VEC_CONCAT. */
if (GET_CODE (op0) == VEC_CONCAT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment