sh.c (calc_live_regs): Also check GET_CODE when checking if initial value for PR_REG is still the...
* sh.c (calc_live_regs): Also check GET_CODE when checking if initial value for PR_REG is still the PR_REG register. From-SVN: r63064
This commit is contained in:
parent
582d11e6ac
commit
29db2a1e1c
|
@ -1,3 +1,8 @@
|
|||
Tue Feb 18 20:15:54 2003 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
|
||||
* sh.c (calc_live_regs): Also check GET_CODE when checking if initial value
|
||||
for PR_REG is still the PR_REG register.
|
||||
|
||||
2003-02-18 Jim Wilson <wilson@redhat.com>
|
||||
|
||||
* config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second
|
||||
|
|
|
@ -4571,7 +4571,9 @@ calc_live_regs (count_ptr, live_regs_mask)
|
|||
{
|
||||
rtx pr_initial = has_hard_reg_initial_val (Pmode, PR_REG);
|
||||
pr_live = (pr_initial
|
||||
? REGNO (pr_initial) != (PR_REG) : regs_ever_live[PR_REG]);
|
||||
? (GET_CODE (pr_initial) != REG
|
||||
|| REGNO (pr_initial) != (PR_REG))
|
||||
: regs_ever_live[PR_REG]);
|
||||
}
|
||||
/* Force PR to be live if the prologue has to call the SHmedia
|
||||
argument decoder or register saver. */
|
||||
|
|
Loading…
Reference in New Issue