-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code assume conditional-branch cannot go to the same target #48
Comments
Using the patch:
Actually allows the loop restructuring to continue, but then it produces: |
Incidentally, the SCCs for the case are:
But I think I need to apply "loop restruturing" manually to know what to expect. Python doesn't have a goto, I don't think the code is equipped to handle a backedge that ends up in the middle of the loop somewhere. |
I am changing the mockasm code so no branches have the same jump target on both side. However, the YAML: "mock_block_0":
jt: ["mock_block_5", "mock_block_8"]
"mock_block_2":
jt: ["mock_block_3", "mock_block_4"]
"mock_block_3":
jt: ["mock_block_4"]
"mock_block_4":
jt: ["mock_block_5"]
"mock_block_5":
jt: ["mock_block_3", "mock_block_6"]
"mock_block_6":
jt: ["mock_block_8", "mock_block_9"]
"mock_block_7":
jt: ["mock_block_2", "mock_block_11"]
"mock_block_8":
jt: ["mock_block_9"]
"mock_block_9":
jt: ["mock_block_7", "mock_block_2"]
"mock_block_11":
jt: [] |
Tracking: numba-rvsdg/numba_rvsdg/tests/test_mock_asm.py Lines 270 to 273 in 371b3df
|
From
DEBUGGRAPH=1 pytest numba_rvsdg/tests/test_mock_asm.py::test_mock_scfg_fuzzer_case146
in #42CFG:
Traceback:
The text was updated successfully, but these errors were encountered: