move fillloop() after fold()
SCCP is currently the one and only pass which seriously affects control flow; so we must compute loop costs afterwards.
This commit is contained in:
parent
34fee80e69
commit
84b889c6ef
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -69,7 +69,6 @@ func(Fn *fn)
|
|||
ssa(fn);
|
||||
filluse(fn);
|
||||
ssacheck(fn);
|
||||
fillloop(fn);
|
||||
fillalias(fn);
|
||||
loadopt(fn);
|
||||
filluse(fn);
|
||||
|
@ -83,6 +82,7 @@ func(Fn *fn)
|
|||
T.isel(fn);
|
||||
fillrpo(fn);
|
||||
filllive(fn);
|
||||
fillloop(fn);
|
||||
fillcost(fn);
|
||||
spill(fn);
|
||||
rega(fn);
|
||||
|
|
Loading…
Add table
Reference in a new issue