We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73e84eb commit f67e288Copy full SHA for f67e288
compiler/noirc_evaluator/src/ssa/opt/loop_invariant.rs
@@ -158,6 +158,8 @@ impl<'f> LoopInvariantContext<'f> {
158
// avoid greater compilation cost.
159
if self.inserter.function.runtime().is_brillig() {
160
self.is_control_dependent_post_pre_header(loop_, *block);
161
+ } else {
162
+ self.current_block_control_dependent = true;
163
}
164
165
for instruction_id in self.inserter.function.dfg[*block].take_instructions() {
0 commit comments