nir/tests: Update the CF tests to not assume fake edges
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 3 Sep 2016 18:57:05 +0000 (11:57 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 5 Sep 2016 03:44:59 +0000 (20:44 -0700)
commit821e36638531ddadb32d5bac633c0b21c73bea67
tree94e195d9d7ad22707735d5d1a035c28b1467f3a2
parent61e978524a0e5de4f8570b44bcb9b907a9187684
nir/tests: Update the CF tests to not assume fake edges

In aad4f1550, we removed the concept of "fake" edges from NIR.  Now, if you
have a block at the end of an infinite loop it really has no predecessors.
This updates the unit tests to match.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97587
Tested-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir/tests/control_flow_tests.cpp