Skip to content

Commit 668eb0c

Browse files
authored
feat: new passes + up jll version (#1902)
1 parent 1001358 commit 668eb0c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Reactant"
22
uuid = "3c362404-f566-11ee-1572-e11a4b42c853"
33
authors = ["William Moses <wmoses@mit.edu>", "Valentin Churavy <vchuravy@mit.edu>", "Sergio Sánchez Ramírez <sergio.sanchez.ramirez@bsc.es>", "Paul Berg <paul@plutojl.org>", "Avik Pal <avikpal@mit.edu>", "Mosè Giordano <mose@gnu.org>"]
4-
version = "0.2.179"
4+
version = "0.2.180"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
@@ -105,7 +105,7 @@ PythonCall = "0.9.25"
105105
Random = "1.10"
106106
Random123 = "1.7"
107107
ReactantCore = "0.1.16"
108-
Reactant_jll = "0.0.264"
108+
Reactant_jll = "0.0.265"
109109
ScopedValues = "1.3.0"
110110
Scratch = "1.2"
111111
Sockets = "1.10"

src/Compiler.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)