Merge branch '231-fix-spirv-loop-exit' into 'master'
authorPyry Haulos <phaulos@google.com>
Tue, 19 Jan 2016 19:35:25 +0000 (14:35 -0500)
committerPyry Haulos <phaulos@google.com>
Tue, 19 Jan 2016 19:35:25 +0000 (14:35 -0500)
Fix #231 and #232.

Split apart the early-exit loop tests and ensure that %val defs dominate
uses and OpPhi instructions always mention parent blocks.

See merge request !351


Trivial merge