Skip to content

Commit 37942c8

Browse files
authored
feat: optimization passes (#510)
1 parent 992b080 commit 37942c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Compiler.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ function optimization_passes(; no_nan::Bool=false)
205205
"reduce_concat<1>",
206206
"slice_concat<1>",
207207
"concat_slice<1>",
208+
"select_op_used_within_if<1>",
208209
"bin_broadcast_splat_add<1>",
209210
"bin_broadcast_splat_subtract<1>",
210211
"bin_broadcast_splat_div<1>",
@@ -276,6 +277,8 @@ function optimization_passes(; no_nan::Bool=false)
276277
"binary_op_transpose_simplify_and",
277278
"binary_op_transpose_simplify_xor",
278279
"replace_neg_add_with_subtract",
280+
"log_const_prop<1>",
281+
"log_plus_one_const_prop<1>",
279282
]
280283
if no_nan
281284
append!(

0 commit comments

Comments
 (0)