Closed Bug 738667 Opened 13 years ago Closed 6 years ago

Experimental: add HALT pseudo-instruction so IR graph always has a single endpoint

Categories

(Tamarin Graveyard :: Optimizing JIT, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: edwsmith, Unassigned)

References

Details

Attachments

(1 file)

Certian algorithms are simpler if the IR graph always ends at a single node, say HALT. This node postdominates every other node and is the root of a post-dominator tree. On the one hand, this simplifies such algorithms. But on the other hand, its an odd thing to have blocks that logically end, not end -- e.g. return and throw jump to a halt node? Existing code for doing the postdominator tree works but seems awkward, either this bug should land or the postdominator logic should traverse a CFG with a fake node added to it, even if the fake CFG node doesn't have any IR nodes in it.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: