re PR target/7594 ([m68k] ICE on legal code associated with simplify-rtx)

PR target/7594
        * config/m68k/m68k.md (zero_extendhisi2): Use gen_lowpart_SUBREG.
        (zero_extendqihi2, zero_extendqisi2): Likewise.

From-SVN: r67857
This commit is contained in:
Richard Henderson 2003-06-12 14:57:31 -07:00 committed by Richard Henderson
parent a6c9bed444
commit 7b6877289f
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2003-06-12 Richard Henderson <rth@redhat.com>
PR target/7594
* config/m68k/m68k.md (zero_extendhisi2): Use gen_lowpart_SUBREG.
(zero_extendqihi2, zero_extendqisi2): Likewise.
2003-06-12 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (function_arg): Always split vectors for

View File

@ -1332,7 +1332,7 @@
"
{
operands[1] = make_safe_from (operands[1], operands[0]);
operands[2] = gen_lowpart (HImode, operands[0]);
operands[2] = gen_lowpart_SUBREG (HImode, operands[0]);
}")
(define_expand "zero_extendqihi2"
@ -1344,7 +1344,7 @@
"
{
operands[1] = make_safe_from (operands[1], operands[0]);
operands[2] = gen_lowpart (QImode, operands[0]);
operands[2] = gen_lowpart_SUBREG (QImode, operands[0]);
}")
(define_expand "zero_extendqisi2"
@ -1356,7 +1356,7 @@
"
{
operands[1] = make_safe_from (operands[1], operands[0]);
operands[2] = gen_lowpart (QImode, operands[0]);
operands[2] = gen_lowpart_SUBREG (QImode, operands[0]);
}")
;; Patterns to recognize zero-extend insns produced by the combiner.