aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
Diffstat (limited to 'passes')
-rw-r--r--passes/equiv/equiv_opt.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/passes/equiv/equiv_opt.cc b/passes/equiv/equiv_opt.cc
index 68593d301..408afd3e4 100644
--- a/passes/equiv/equiv_opt.cc
+++ b/passes/equiv/equiv_opt.cc
@@ -137,10 +137,12 @@ struct EquivOptPass : public ScriptPass
if ((!techmap_opts.empty() || help_mode) && check_label("techmap", "(only with -map)"))
{
+ string opts;
if (help_mode)
- run("techmap -autoproc -map <filename> ...");
+ opts = " -map <filename> ...";
else
- run("techmap -autoproc" + techmap_opts);
+ opts = techmap_opts;
+ run("techmap -D EQUIV -autoproc" + opts);
}
if (check_label("prove"))