From f30ecda65f4f2167d52a9cf46dfd9be0e1e3ab81 Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Mon, 10 Jun 2024 19:26:53 -0400 Subject: [PATCH] enable infer_compilation_signature --- src/compiler/interpreter.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/compiler/interpreter.jl b/src/compiler/interpreter.jl index 5885679be5..64eea35004 100644 --- a/src/compiler/interpreter.jl +++ b/src/compiler/interpreter.jl @@ -66,6 +66,10 @@ if VERSION >= v"1.7.0-DEV.577" Core.Compiler.verbose_stmt_info(interp::EnzymeInterpreter) = false end +if VERSION >= v"1.8.0" +Core.Compiler.infer_compilation_signature(interp::EnzymeInterpreter) = true +end + if isdefined(Base.Experimental, Symbol("@overlay")) Core.Compiler.method_table(interp::EnzymeInterpreter, sv::InferenceState) = Core.Compiler.OverlayMethodTable(interp.world, interp.method_table)