Skip to content

Commit c5242a1

Browse files
authored
refactor: move patterns to diff list (#1520)
1 parent cf4faa5 commit c5242a1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Compiler.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,13 @@ function optimization_passes(
891891
"reshape_insertions_broadcast_in_dim_simplify",
892892
"dot_general_reshape",
893893
"diagonal_tensor_dot_general_rewrite",
894+
"widen_wrap",
895+
"widen_extend",
896+
"elementwise_pad",
897+
"compare_negate_const_simplify",
898+
"select_simplify",
899+
"concatenate_subtract_to_subtract_pad",
900+
"concatenate_broadcast_in_dim",
894901
]
895902

896903
if !compile_options.disable_scatter_gather_optimization_passes
@@ -1010,13 +1017,6 @@ function optimization_passes(
10101017
"const_prop_through_barrier<16>",
10111018
"concat_const_prop<1>($max_constant_threshold)",
10121019
"dynamic_update_slice_const_prop($max_constant_threshold)",
1013-
"widen_wrap",
1014-
"widen_extend",
1015-
"elementwise_pad",
1016-
"compare_negate_const_simplify",
1017-
"select_simplify",
1018-
"concatenate_subtract_to_subtract_pad",
1019-
"concatenate_broadcast_in_dim",
10201020
],
10211021
)
10221022

0 commit comments

Comments
 (0)