tree-ssa-loop-ivopts.c (computation_cost): Start register numbering at LAST_VIRTUAL_REGISTER+1 to avoid possibly using...
* tree-ssa-loop-ivopts.c (computation_cost): Start register numbering at LAST_VIRTUAL_REGISTER+1 to avoid possibly using hard registers in unsupported ways. * expmed.c (init_expmed): Likewise. From-SVN: r95373
This commit is contained in:
parent
933e5b284a
commit
1d27fed446
3 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-02-21 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* tree-ssa-loop-ivopts.c (computation_cost): Start register
|
||||
numbering at LAST_VIRTUAL_REGISTER+1 to avoid possibly using hard
|
||||
registers in unsupported ways.
|
||||
* expmed.c (init_expmed): Likewise.
|
||||
|
||||
2005-02-21 Stan Cox <scox@redhat.com>
|
||||
|
||||
* config/iq2000/iq2000.h (DWARF_FRAME_RETURN_COLUMN): Change to 31.
|
||||
|
|
|
@ -145,7 +145,8 @@ init_expmed (void)
|
|||
memset (&all, 0, sizeof all);
|
||||
|
||||
PUT_CODE (&all.reg, REG);
|
||||
REGNO (&all.reg) = 10000;
|
||||
/* Avoid using hard regs in ways which may be unsupported. */
|
||||
REGNO (&all.reg) = LAST_VIRTUAL_REGISTER + 1;
|
||||
|
||||
PUT_CODE (&all.plus, PLUS);
|
||||
XEXP (&all.plus, 0) = &all.reg;
|
||||
|
|
|
@ -2427,7 +2427,8 @@ computation_cost (tree expr)
|
|||
rtx seq, rslt;
|
||||
tree type = TREE_TYPE (expr);
|
||||
unsigned cost;
|
||||
int regno = 0;
|
||||
/* Avoid using hard regs in ways which may be unsupported. */
|
||||
int regno = LAST_VIRTUAL_REGISTER + 1;
|
||||
|
||||
walk_tree (&expr, prepare_decl_rtl, ®no, NULL);
|
||||
start_sequence ();
|
||||
|
|
Loading…
Add table
Reference in a new issue