JIT: contained memory safety analysis fixes and improvements (#64843)
Fixes a couple of issues exposed by forward sub, where containment analysis was allowing unsafe reordering of operands. Closes #64828. Generalize the safety check so that a store to a local not live into a handler can be reordered with respect to node causing exceptions. Happily this leads to almost uniformly better code despite the more stringent checking added above. Add a workaround for the late callbacks into the containment checker made on unlinked nodes. Assume these are always safe. Also add extra checks; fast path early out; assertion in MakeSrcContained.
Showing
想要评论请 注册 或 登录