ra: Don't put a node in its own adjacency set.
authorEric Anholt <eric@anholt.net>
Thu, 4 May 2017 22:49:39 +0000 (15:49 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 25 Jul 2017 21:44:52 +0000 (14:44 -0700)
commit3dae034423c5cd0393e773e347a8c847ecd2734d
treef0ea7ffd080a430eec0dd8f7bf6ee6e2aebe46f9
parent30146f29a723a3a3abe7cf7ef6cc8567880a077d
ra: Don't put a node in its own adjacency set.

All the paths looping over adjacency had guards against considering
themselves (the non-obvious one was ra_any_neighbors_conflict(), which has
in_stack set).

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/util/register_allocate.c