mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
nvc0/ir: insn can never be null
Reported by Coverity. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
9ced42b1aa
commit
1792d60900
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ NVC0LegalizePostRA::findOverwritingDefs(const Instruction *texi,
|
|||
while (insn->op == OP_MOV && insn->getDef(0)->equals(insn->getSrc(0)))
|
||||
insn = insn->getSrc(0)->getUniqueInsn();
|
||||
|
||||
if (!insn || !insn->bb->reachableBy(texi->bb, term))
|
||||
if (!insn->bb->reachableBy(texi->bb, term))
|
||||
return;
|
||||
|
||||
switch (insn->op) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue