From 1c42a589e2e578851d29520d4d2990f392fe02c1 Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Wed, 22 Jan 2025 10:16:32 -0500 Subject: [PATCH] feat: add the new optimization passes (#595) --- src/Compiler.jl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Compiler.jl b/src/Compiler.jl index 48c67dd06..7b07942b4 100644 --- a/src/Compiler.jl +++ b/src/Compiler.jl @@ -279,6 +279,21 @@ function optimization_passes(; no_nan::Bool=false, sroa::Bool=false) "binary_op_transpose_simplify_or", "binary_op_transpose_simplify_and", "binary_op_transpose_simplify_xor", + "transpose_unary_transpose_abs", + "transpose_unary_transpose_neg", + "transpose_unary_transpose_sqrt", + "transpose_unary_transpose_rsqrt", + "transpose_unary_transpose_ceil", + "transpose_unary_transpose_convert", + "transpose_unary_transpose_cosine", + "transpose_unary_transpose_exp", + "transpose_unary_transpose_expm1", + "transpose_unary_transpose_log", + "transpose_unary_transpose_log1p", + "transpose_unary_transpose_sign", + "transpose_unary_transpose_sine", + "transpose_unary_transpose_tanh", + "transpose_broadcast_in_dim_to_broadcast_in_dim<16>", "replace_neg_add_with_subtract", "log_const_prop<1>", "log_plus_one_const_prop<1>",