combine.c (simplify_rtx, [...]): Respect value of TRULY_NOOP_TRUNCATION.
8 * combine.c (simplify_rtx, case TRUNCATE): Respect value of TRULY_NOOP_TRUNCATION. From-SVN: r19204
This commit is contained in:
parent
d5daf0986f
commit
80608e2793
1 changed files with 3 additions and 1 deletions
|
@ -3736,7 +3736,9 @@ simplify_rtx (x, op0_mode, last, in_dest)
|
|||
if (GET_MODE_CLASS (mode) == MODE_PARTIAL_INT)
|
||||
break;
|
||||
|
||||
if (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT)
|
||||
if (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT
|
||||
&& TRULY_NOOP_TRUNCATION (GET_MODE_BITSIZE (mode),
|
||||
GET_MODE_BITSIZE (GET_MODE (XEXP (x, 0)))))
|
||||
SUBST (XEXP (x, 0),
|
||||
force_to_mode (XEXP (x, 0), GET_MODE (XEXP (x, 0)),
|
||||
GET_MODE_MASK (mode), NULL_RTX, 0));
|
||||
|
|
Loading…
Add table
Reference in a new issue