@@ -46,9 +46,9 @@ enum class option {
46
46
/* optimization */
47
47
cli_enable_for_opt, // switch for optimization on
48
48
cli_enable_let_opt, // switch let optimization on
49
- cli_enable_ir_merge, // switch ir merge on
50
49
cli_enable_self_constraint_opt, // switch self constraint optimization on
51
50
cli_enable_join_reorder, // switch join reorder optimization on
51
+ cli_disable_inst_combine, // switch inst combine off
52
52
cli_disable_remove_unused, // switch unused method deletion off
53
53
cli_disable_do_schema_opt, // switch do schema optimization off
54
54
cli_souffle_debug_dump, // switch souffle debug mode on
@@ -121,12 +121,11 @@ const std::unordered_map<std::string, option> options = {
121
121
{" -Of" , option::cli_enable_for_opt},
122
122
{" --opt-let" , option::cli_enable_let_opt},
123
123
{" -Ol" , option::cli_enable_let_opt},
124
- {" --opt-ir-merge" , option::cli_enable_ir_merge},
125
- {" -Oim" , option::cli_enable_ir_merge},
126
124
{" --opt-self-constraint" , option::cli_enable_self_constraint_opt},
127
125
{" -Osc" , option::cli_enable_self_constraint_opt},
128
126
{" --opt-join-reorder" , option::cli_enable_join_reorder},
129
127
{" -Ojr" , option::cli_enable_join_reorder},
128
+ {" --disable-inst-combine" , option::cli_disable_inst_combine},
130
129
{" --disable-remove-unused" , option::cli_disable_remove_unused},
131
130
{" --disable-do-schema-opt" , option::cli_disable_do_schema_opt},
132
131
{" --souffle-debug" , option::cli_souffle_debug_dump},
@@ -142,11 +141,9 @@ const std::unordered_map<std::string, option> options = {
142
141
const std::unordered_map<std::string, std::vector<option>> multi_options = {
143
142
{" -O1" , {option::cli_enable_for_opt}},
144
143
{" -O2" , {option::cli_enable_for_opt,
145
- option::cli_enable_self_constraint_opt,
146
- option::cli_enable_ir_merge}},
144
+ option::cli_enable_self_constraint_opt}},
147
145
{" -O3" , {option::cli_enable_for_opt,
148
146
option::cli_enable_self_constraint_opt,
149
- option::cli_enable_ir_merge,
150
147
option::cli_enable_join_reorder}}
151
148
};
152
149
0 commit comments