aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-04-18 14:49:38 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2021-03-08 01:30:54 +0100
commit3caeefd911a54289bbf7d293289964239a6fed96 (patch)
treea7353efee7b502cb2c3792919fac4676787b8583 /validation/optim
parent60c1f2706e30eacc29296e6cb5d9327c85a01340 (diff)
downloadsparse-dev-3caeefd911a54289bbf7d293289964239a6fed96.tar.gz
phi-sources can only have a single user (or none)
Currently, OP_PHISOURCES have a list as member, 'phi_users', that should link to all phi-nodes using them but: *) phi-sources are never shared between phi-nodes *) this list is useless because it's only created during liveness and not used after. So, replace the list by a simple pointer to hold the unique phi-node using it and keep this link updated during all its lifetime. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'validation/optim')
0 files changed, 0 insertions, 0 deletions