nv50/ir: Fix up insertion of PHI instructions using bb->insertHead().
This commit is contained in:
committed by
Christoph Bumiller
parent
fc740e7924
commit
ab382fbc35
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user