diff options
author | Francisco Jerez <[email protected]> | 2011-11-15 15:58:04 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-04-14 21:54:00 +0200 |
commit | ab382fbc35f6fd007dc278fcf4bc0dd3c0987a60 (patch) | |
tree | 29b0145e9ff416d210a8c7ad0b1e0b2654666613 /src | |
parent | fc740e7924dfa52a39de5f2b8031c2cded0fafb3 (diff) |
nv50/ir: Fix up insertion of PHI instructions using bb->insertHead().
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nv50/codegen/nv50_ir_bb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_bb.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_bb.cpp index fb4188870a6..aafc7cb1a8c 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir_bb.cpp +++ b/src/gallium/drivers/nv50/codegen/nv50_ir_bb.cpp @@ -91,7 +91,7 @@ BasicBlock::insertHead(Instruction *inst) insertBefore(phi, inst); } else { if (entry) { - insertBefore(entry, phi); + insertBefore(entry, inst); } else { assert(!exit); phi = exit = inst; |