rework liveness to compute reg pressure
This commit is contained in:
parent
7be3711bb6
commit
0f0ee0466e
3 changed files with 49 additions and 37 deletions
|
@ -130,7 +130,8 @@ struct Blk {
|
|||
|
||||
Blk **pred;
|
||||
uint npred;
|
||||
Bits in, out;
|
||||
Bits in, out, gen;
|
||||
int nlive;
|
||||
int loop;
|
||||
char name[NString];
|
||||
int id;
|
||||
|
@ -175,5 +176,6 @@ void filllive(Fn *);
|
|||
void isel(Fn *);
|
||||
|
||||
/* spill.c */
|
||||
int bcnt(Bits *);
|
||||
void fillcost(Fn *);
|
||||
void spill(Fn *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue