diff options
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp index 8494c885f9e..28b59857e63 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp @@ -3323,7 +3323,7 @@ LocalCSE::visit(BasicBlock *bb) for (ir = bb->getFirst(); ir; ir = ir->next) ir->serial = serial++; - for (ir = bb->getEntry(); ir; ir = next) { + for (ir = bb->getFirst(); ir; ir = next) { int s; Value *src = NULL; |