@@ -809,6 +809,7 @@ function optimization_passes(
809809 " associative_binary_op_reordering<1>" ,
810810 " transpose_broadcast_in_dim_to_broadcast_in_dim<16>" ,
811811 " replace_neg_add_with_subtract" ,
812+ " replace_subtract_neg_with_add" ,
812813 " binop_const_simplify" ,
813814 " not_select_simplify" ,
814815 " common_compare_expression_rewrite" ,
@@ -906,6 +907,8 @@ function optimization_passes(
906907 " enzyme_hlo_unroll($(WHILE_UNROLL_THRESHOLD[]) )" ,
907908 " dot_general_only_diagonal_access" ,
908909 " transpose_symmetric_simplify" ,
910+ " divide_negated_operands_simplify" ,
911+ " multiply_negated_operands_simplify" ,
909912 ]
910913
911914 if ! compile_options. disable_auto_batching_passes
@@ -923,6 +926,7 @@ function optimization_passes(
923926 " concat_insert_dim_sort" ,
924927 " concat_insert_dim_reduce_window" ,
925928 " concat_insert_dim_elementwise" ,
929+ " concat_insert_dim_convolution" ,
926930 " dot_general_slice_to_batch" ,
927931 " gather_slice_to_batch" ,
928932 " iota_slice_to_batch" ,
@@ -932,6 +936,7 @@ function optimization_passes(
932936 " broadcastindim_slice_to_batch" ,
933937 " reducewindow_slice_to_batch" ,
934938 " elementwise_slice_to_batch" ,
939+ " convolution_slice_to_batch" ,
935940 " greedy_while_loop_batch_fission" ,
936941 ],
937942 )
@@ -953,6 +958,7 @@ function optimization_passes(
953958 " reduce_licm(0)" ,
954959 " reduce_window_licm(0)" ,
955960 " reverse_licm(0)" ,
961+ " convolution_licm(0)" ,
956962 ],
957963 )
958964 end
0 commit comments