| Summary: |
nir/tests/control_flow_tests.cpp:79:73: error: ‘nir_loop_first_cf_node’ was not declared in this scope |
| Product: |
Mesa
|
Reporter: |
Vinson Lee <vlee> |
| Component: |
Mesa core | Assignee: |
mesa-dev |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
mesa-dev |
| Severity: |
normal
|
|
|
| Priority: |
medium
|
CC: |
cwabbott0, jason
|
| Version: |
git | Keywords: |
bisected, regression |
| Hardware: |
x86-64 (AMD64) | |
|
| OS: |
All | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
mesa: f96945c5b5c3a52685e76795f03f75c75fb62fc7 (master 12.1.0-devel) CXX nir/tests/nir_tests_control_flow_tests-control_flow_tests.o nir/tests/control_flow_tests.cpp: In member function ‘virtual void nir_cf_test_delete_break_in_loop_Test::TestBody()’: nir/tests/control_flow_tests.cpp:79:73: error: ‘nir_loop_first_cf_node’ was not declared in this scope nir_block *block_1 = nir_cf_node_as_block(nir_loop_first_cf_node(loop)); ^ 2ed17d46de045404042f13c6591895a1cf31b167 is the first bad commit commit 2ed17d46de045404042f13c6591895a1cf31b167 Author: Jason Ekstrand <jason.ekstrand@intel.com> Date: Wed Oct 5 19:08:57 2016 -0700 nir: Make nir_foo_first/last_cf_node return a block instead One of NIR's invariants is that control flow lists always start and end with blocks. There's no good reason why we should return a cf_node from these functions since we know that it's always a block. Making it a block lets us remove a bunch of code. Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Connor Abbott <cwabbott0@gmail.com> :040000 040000 0ecfd382f1e2c6fafb103838f5da4f711b8eeebd 1ed04a96ce72361430d8e7fbfcf62557745a5ecf M src bisect run success