From 357655261f7f838dfa0f9965b212fe1e9b07e89f Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Fri, 11 Aug 2023 14:10:07 +0100 Subject: [PATCH] Update crates/noirc_evaluator/src/ssa/acir_gen/acir_ir/acir_variable.rs --- crates/noirc_evaluator/src/ssa/acir_gen/acir_ir/acir_variable.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/noirc_evaluator/src/ssa/acir_gen/acir_ir/acir_variable.rs b/crates/noirc_evaluator/src/ssa/acir_gen/acir_ir/acir_variable.rs index 6e4d6c7da0c..cf4c4160e9b 100644 --- a/crates/noirc_evaluator/src/ssa/acir_gen/acir_ir/acir_variable.rs +++ b/crates/noirc_evaluator/src/ssa/acir_gen/acir_ir/acir_variable.rs @@ -868,6 +868,7 @@ impl AcirContext { })?; // Optimistically try executing the brillig now, if we can complete execution they just return the results. + // This is a temporary measure pending SSA optimizations being applied to Brillig which would remove constant-input opcodes (See #2066) if let Some(brillig_outputs) = self.execute_brillig(code.clone(), &b_inputs, &outputs) { return Ok(brillig_outputs); }