mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-24 22:30:31 +01:00
nv50/ir/opt: CALLs cannot load
This commit is contained in:
parent
c893b94060
commit
1ed507ca46
1 changed files with 3 additions and 0 deletions
|
|
@ -203,6 +203,9 @@ LoadPropagation::visit(BasicBlock *bb)
|
|||
for (Instruction *i = bb->getEntry(); i; i = next) {
|
||||
next = i->next;
|
||||
|
||||
if (i->op == OP_CALL) // calls have args as sources, they must be in regs
|
||||
continue;
|
||||
|
||||
if (i->srcExists(1))
|
||||
checkSwapSrc01(i);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue