summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-10-21 16:00:08 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-12-12 22:17:03 -0500
commit96f0711dac07cd124843bb773228c98de2d5d914 (patch)
treeff69bb7dbf544c1bc2e3c0bd88f77fd3b3915b7a
parent8d8d551df23b5055507c501e3396dcfe3c33af2d (diff)
downloadroux-96f0711dac07cd124843bb773228c98de2d5d914.tar.gz
use the new load optimization
-rw-r--r--main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.c b/main.c
index 473eaf3..6642ac2 100644
--- a/main.c
+++ b/main.c
@@ -45,10 +45,14 @@ func(Fn *fn)
 	fillrpo(fn);
 	fillpreds(fn);
 	filluse(fn);
-	memopt(fn);
+	/* memopt(fn); */
 	ssa(fn);
 	filluse(fn);
 	ssacheck(fn);
+	fillalias(fn);
+	loadopt(fn);
+	filluse(fn);
+	ssacheck(fn);
 	copy(fn);
 	filluse(fn);
 	fold(fn);