diff options
Diffstat (limited to 'techlibs')
-rw-r--r-- | techlibs/common/prep.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/techlibs/common/prep.cc b/techlibs/common/prep.cc index 8accb7e28..f797f5db7 100644 --- a/techlibs/common/prep.cc +++ b/techlibs/common/prep.cc @@ -173,8 +173,12 @@ struct PrepPass : public ScriptPass run("opt_clean"); run("check"); run("opt -keepdc"); - if (!ifxmode) - run("wreduce"); + if (!ifxmode) { + if (help_mode) + run("wreduce [-memx]"); + else + run(memxmode ? "wreduce -memx" : "wreduce"); + } run("memory_dff" + (help_mode ? " [-nordff]" : memory_opts)); if (help_mode || memxmode) run("memory_memx", "(if -memx)"); |