(split for ior/xor with shift and zero-extend): Cast op3 to

unsigned HWI.

From-SVN: r150013
This commit is contained in:
Richard Earnshaw 2009-07-23 15:02:20 +00:00 committed by Richard Earnshaw
parent fa89660f9a
commit 6d53a79fde
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-07-23 Richard Earnshaw <rearnsha@arm.com>
(split for ior/xor with shift and zero-extend): Cast op3 to
unsigned HWI.
2009-07-23 Uros Bizjak <ubizjak@gmail.com>
PR target/40832

View File

@ -4219,7 +4219,7 @@
(match_operator 5 "subreg_lowpart_operator"
[(match_operand:SI 4 "s_register_operand" "")]))))]
"TARGET_32BIT
&& (INTVAL (operands[3])
&& ((unsigned HOST_WIDE_INT) INTVAL (operands[3])
== (GET_MODE_MASK (GET_MODE (operands[5]))
& (GET_MODE_MASK (GET_MODE (operands[5]))
<< (INTVAL (operands[2])))))"