commit | 1aca23075ab7e2ddfd03c57782afa7c48c2d0354 | [log] [tgz] |
---|---|---|
author | Jim Stichnoth <stichnot@chromium.org> | Wed Sep 16 11:25:22 2015 -0700 |
committer | Jim Stichnoth <stichnot@chromium.org> | Wed Sep 16 11:25:22 2015 -0700 |
tree | 00fae0cd1736b46e1d35c99267851c1dc183fd5e | |
parent | be4988823a0a069750895c30febd0f01e9477bed [diff] |
Subzero: Validate phi instructions after CFG construction. It checks that each phi label corresponds to an incoming edge, and that each incoming edge has a corresponding phi label. It does not check that duplicate incoming edges get the same phi value. Performance impact is minimal (~0.2%) despite the O(N^2) implementation. BUG= https://code.google.com/p/nativeclient/issues/detail?id=4304 R=jpp@chromium.org Review URL: https://codereview.chromium.org/1351433002 .