Disregard initial natural node from Break template

This commit is contained in:
Xinlong Hu
2025-07-18 18:43:26 -05:00
committed by Joel-Flores123
parent ea94f6d43c
commit 96695c0eed
@@ -140,7 +140,7 @@ class FixLoop(ControlFlowTemplate):
encompassed_nodes = [
v for u, v, d in dfs_edges
if d == "forward" and v != node
]
][1:]
edges_to_remove = []
# Find the candidate end that break connect to