mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 16:48:07 +02:00
nv50/ir: Fix up insertion of PHI instructions using bb->insertHead().
This commit is contained in:
parent
fc740e7924
commit
ab382fbc35
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue