lra-eliminations.c (lra_eliminate_regs_1): Use simplify_gen_subreg rather than gen_rtx_SUBREG.
gcc/ * lra-eliminations.c (lra_eliminate_regs_1): Use simplify_gen_subreg rather than gen_rtx_SUBREG. From-SVN: r192988
This commit is contained in:
parent
c12d924229
commit
baa061be44
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-10-30 Richard Sandiford <r.sandiford@uk.ibm.com>
|
||||
|
||||
* lra-eliminations.c (lra_eliminate_regs_1): Use simplify_gen_subreg
|
||||
rather than gen_rtx_SUBREG.
|
||||
|
||||
2012-10-30 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* gimple.h (gimple_store_p): New predicate.
|
||||
|
|
|
@ -550,7 +550,8 @@ lra_eliminate_regs_1 (rtx x, enum machine_mode mem_mode,
|
|||
return x;
|
||||
}
|
||||
else
|
||||
return gen_rtx_SUBREG (GET_MODE (x), new_rtx, SUBREG_BYTE (x));
|
||||
return simplify_gen_subreg (GET_MODE (x), new_rtx,
|
||||
GET_MODE (new_rtx), SUBREG_BYTE (x));
|
||||
}
|
||||
|
||||
return x;
|
||||
|
|
Loading…
Add table
Reference in a new issue