mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
nv50/ir: fix instruction permutation logic
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
11fcf46590
commit
06055121e6
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ void BasicBlock::permuteAdjacent(Instruction *a, Instruction *b)
|
|||
|
||||
if (b->prev)
|
||||
b->prev->next = b;
|
||||
if (a->prev)
|
||||
if (a->next)
|
||||
a->next->prev = a;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue