summaryrefslogtreecommitdiff
path: root/passes
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-09-15 12:22:03 +0200
committerClifford Wolf <clifford@clifford.at>2014-09-15 12:22:03 +0200
commitb470c480e97fe112810d04a6051d1029ce1e8c29 (patch)
treef99f56795d8e059ada76c3c796fb9f34dd47259e /passes
parentfcbda0741166bfbc3244f05f92e9cc5f925160e6 (diff)
Added the obvious optimizations to alumacc $macc generator
Diffstat (limited to 'passes')
-rw-r--r--passes/techmap/alumacc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/passes/techmap/alumacc.cc b/passes/techmap/alumacc.cc
index 3fddcef1..c52e0e4c 100644
--- a/passes/techmap/alumacc.cc
+++ b/passes/techmap/alumacc.cc
@@ -317,6 +317,7 @@ struct AlumaccWorker
log(" creating $macc cell for %s: %s\n", log_id(n->cell), log_id(cell));
+ n->macc.optimize(SIZE(n->y));
n->macc.to_cell(cell);
cell->setPort("\\Y", n->y);
cell->fixup_parameters();