aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2026-01-13 18:15:01 +0100
committerQuentin Carbonneaux <[email protected]>2026-01-13 18:17:35 +0100
commite8365dd0a2cb3050b62e9cb263e1a9a09481d76f (patch)
tree0ed63c3a0f6c3b47b1bd09fd0d64fc8336118d53 /main.c
parentc6336557dad1161088c3f60a8045d676fb924ed5 (diff)
new simplcfg pass
Useful for ifopt to match more often. Empty blocks are fused and conditional jumps on empty blocks with the same successor (and no phis in the successor) are collapsed.
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index f7180ce..61065dd 100644
--- a/main.c
+++ b/main.c
@@ -77,6 +77,7 @@ func(Fn *fn)
ssacheck(fn);
gvn(fn);
fillcfg(fn);
+ simplcfg(fn);
filluse(fn);
filldom(fn);
gcm(fn);