aboutsummaryrefslogtreecommitdiffstats
path: root/passes/opt
diff options
context:
space:
mode:
Diffstat (limited to 'passes/opt')
-rw-r--r--passes/opt/opt_lut.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/passes/opt/opt_lut.cc b/passes/opt/opt_lut.cc
index a79a9a2da..b9a1ce7a7 100644
--- a/passes/opt/opt_lut.cc
+++ b/passes/opt/opt_lut.cc
@@ -271,6 +271,8 @@ struct OptLutWorker
}
module->connect(lut_output, value);
+ sigmap.add(lut_output, value);
+
module->remove(lut);
luts.erase(lut);
luts_arity.erase(lut);