From 7356378daa77fd692247473e440caefb6d60d320 Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Thu, 9 Oct 2025 09:15:00 -0400 Subject: [PATCH] feat: new compiler optimizations --- Project.toml | 2 +- src/Compiler.jl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 6e15763cbe..8395d685be 100644 --- a/Project.toml +++ b/Project.toml @@ -105,7 +105,7 @@ PythonCall = "0.9.25" Random = "1.10" Random123 = "1.7" ReactantCore = "0.1.16" -Reactant_jll = "0.0.247" +Reactant_jll = "0.0.248" ScopedValues = "1.3.0" Scratch = "1.2" Sockets = "1.10" diff --git a/src/Compiler.jl b/src/Compiler.jl index d0356b3fb0..46d577bf43 100644 --- a/src/Compiler.jl +++ b/src/Compiler.jl @@ -908,6 +908,8 @@ function optimization_passes( "dot_general_subtract_distributive_simplify", "dus_to_dynamic_pad", "dynamic_pad_to_pad", + "remove_no_ops_from_while_loop", + "while_is_copy_simplify", ] if !compile_options.disable_auto_batching_passes