Skip to content
Snippets Groups Projects
Commit 6367271f authored by Ilia Mirkin's avatar Ilia Mirkin Committed by Emil Velikov
Browse files

nv50/ir: can't have predication and immediates


Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 6aca7fec)
parent e1a5b7a8
No related branches found
No related tags found
Loading
......@@ -2612,6 +2612,9 @@ NV50PostRaConstantFolding::visit(BasicBlock *bb)
i->getSrc(0)->reg.data.id >= 64)
break;
if (i->getPredicate())
break;
def = i->getSrc(1)->getInsn();
if (def && def->op == OP_MOV && def->src(0).getFile() == FILE_IMMEDIATE) {
vtmp = i->getSrc(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment