summary refs log tree commit diff
path: root/main.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2017-02-24 09:42:12 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2017-02-24 09:50:28 -0500
commitf3301026fa404c68c7ad399b5a56a5135b88af04 (patch)
treeffb3f425adac1780593526f90f095dfb97fc1b5c /main.c
parentfc124dd22e6d936de53c60f6752e45c857f10013 (diff)
downloadroux-f3301026fa404c68c7ad399b5a56a5135b88af04.tar.gz
reenable and fix a bug in memopt
While a minimal dead store elimination is not
implemented, the generated code looks quite a
bit better with them enabled.  It also is quite
cheap.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index f93af37..fe68ae0 100644
--- a/main.c
+++ b/main.c
@@ -50,7 +50,7 @@ func(Fn *fn)
 	fillrpo(fn);
 	fillpreds(fn);
 	filluse(fn);
-	/* memopt(fn); */
+	memopt(fn);
 	ssa(fn);
 	filluse(fn);
 	ssacheck(fn);