You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is obviously wrong. This happens because get_dom algorithm fails when there's a node/basic block that doesn't have any predecessor that is not reachable from entry.
The text was updated successfully, but these errors were encountered:
bril/examples/dom.py
Line 52 in 57877b1
Take this program for example (modified from interp test):
Applying
to_ssa
creates this wrong outputNote the garbage phi instruction
tmp.0
. This happens because dominators are computed as follows in dom.py (which is then used by to_ssa.py)This is obviously wrong. This happens because
get_dom
algorithm fails when there's a node/basic block that doesn't have any predecessor that is not reachable from entry.The text was updated successfully, but these errors were encountered: