util: Include bitscan.h directly
[mesa.git] / src / compiler / nir / nir_sweep.c
index b22f0f5656937fec6bd057776fd1c5e347f70608..0f1debce3ada66edfe4aed1c18be1ab33e5447a6 100644 (file)
@@ -63,7 +63,7 @@ sweep_block(nir_shader *nir, nir_block *block)
 {
    ralloc_steal(nir, block);
 
-   nir_foreach_instr(block, instr) {
+   nir_foreach_instr(instr, block) {
       ralloc_steal(nir, instr);
 
       nir_foreach_src(instr, sweep_src_indirect, nir);