unssa: simplify rewrite of OP_PHISOURCE
commit66409e16cd1649d923ad24c26657704848753cbc
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Mon, 12 Dec 2016 15:28:58 +0000 (12 16:28 +0100)
committerChristopher Li <sparse@chrisli.org>
Mon, 13 Feb 2017 01:34:44 +0000 (13 09:34 +0800)
tree14be984563175adc4f75b19fbe8fbdfa1ad0ec40
parent75c89cd2f73eac22355a186c5356bb814eadf9a6
unssa: simplify rewrite of OP_PHISOURCE

Using the fact that each OP_PHISOURCE is used by a single OP_PHI,
it's easier to rewrite OP_PHISOURCE at the same time as their
associated OP_PHI (because we have access to the new pseudo just created).

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
unssa.c