Commit f27017d1 by Joseph Myers Committed by Joseph Myers

combine.c (simplify_set): Avoid calling LOAD_EXTEND_OP on non-integer modes.

	* combine.c (simplify_set): Avoid calling LOAD_EXTEND_OP on
	non-integer modes.

From-SVN: r141096
parent bca60f4c
2008-10-13 Joseph Myers <joseph@codesourcery.com>
* combine.c (simplify_set): Avoid calling LOAD_EXTEND_OP on
non-integer modes.
2008-10-13 Matthias Klose <doko@ubuntu.com>
* gcc/config/pa/linux-atomic.c: Work around missing header file
......
......@@ -5843,6 +5843,7 @@ simplify_set (rtx x)
zero_extend to avoid the reload that would otherwise be required. */
if (GET_CODE (src) == SUBREG && subreg_lowpart_p (src)
&& INTEGRAL_MODE_P (GET_MODE (SUBREG_REG (src)))
&& LOAD_EXTEND_OP (GET_MODE (SUBREG_REG (src))) != UNKNOWN
&& SUBREG_BYTE (src) == 0
&& (GET_MODE_SIZE (GET_MODE (src))
......
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