-
Notifications
You must be signed in to change notification settings - Fork 361
Open
Milestone
Description
Description
| self.simple_optimization(|context| { | |
| if Some(context.block_id) != previous_block { | |
| active_condition = one; | |
| last_side_effects_enabled_instruction = None; | |
| } | |
| previous_block = Some(context.block_id); |
The pass contains multi-block handling code that resets state on block transitions, but the module's precondition states that the function must have only one basic block. This code is effectively dead/defensive in nature.
Metadata
Metadata
Assignees
Labels
No labels