diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-10-31 03:36:51 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-10-31 03:36:51 +0100 |
commit | ab28491f271e3b02ba58dabb4b7033bcf17b6c25 (patch) | |
tree | a8fe074a05d66477549338934259f6f80eed7fa4 /passes/opt/opt_reduce.cc | |
parent | a21481b338933f9498fd0fb11492aa2e5b7a00cd (diff) | |
download | yosys-ab28491f271e3b02ba58dabb4b7033bcf17b6c25.tar.gz yosys-ab28491f271e3b02ba58dabb4b7033bcf17b6c25.tar.bz2 yosys-ab28491f271e3b02ba58dabb4b7033bcf17b6c25.zip |
Added "opt -full" alias for all more aggressive optimizations
Diffstat (limited to 'passes/opt/opt_reduce.cc')
-rw-r--r-- | passes/opt/opt_reduce.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/passes/opt/opt_reduce.cc b/passes/opt/opt_reduce.cc index 302deb9bd..3183d973d 100644 --- a/passes/opt/opt_reduce.cc +++ b/passes/opt/opt_reduce.cc @@ -346,6 +346,9 @@ struct OptReducePass : public Pass { log(" -fine\n"); log(" perform fine-grain optimizations\n"); log("\n"); + log(" -full\n"); + log(" alias for -fine\n"); + log("\n"); } virtual void execute(std::vector<std::string> args, RTLIL::Design *design) { @@ -359,6 +362,10 @@ struct OptReducePass : public Pass { do_fine = true; continue; } + if (args[argidx] == "-full") { + do_fine = true; + continue; + } break; } extra_args(args, argidx, design); |