mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
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
2
main.c
2
main.c
@ -69,7 +69,6 @@ func(Fn *fn)
|
|||||||
ssa(fn);
|
ssa(fn);
|
||||||
filluse(fn);
|
filluse(fn);
|
||||||
ssacheck(fn);
|
ssacheck(fn);
|
||||||
fillloop(fn);
|
|
||||||
fillalias(fn);
|
fillalias(fn);
|
||||||
loadopt(fn);
|
loadopt(fn);
|
||||||
filluse(fn);
|
filluse(fn);
|
||||||
@ -83,6 +82,7 @@ func(Fn *fn)
|
|||||||
T.isel(fn);
|
T.isel(fn);
|
||||||
fillrpo(fn);
|
fillrpo(fn);
|
||||||
filllive(fn);
|
filllive(fn);
|
||||||
|
fillloop(fn);
|
||||||
fillcost(fn);
|
fillcost(fn);
|
||||||
spill(fn);
|
spill(fn);
|
||||||
rega(fn);
|
rega(fn);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user