Skip to content
Snippets Groups Projects
Commit 36e0e9c5 authored by Ilia Mirkin's avatar Ilia Mirkin Committed by Carl Worth
Browse files

nv50/ir: fix constant folding for OP_MUL subop HIGH


These instructions can come in either through IMUL_HI/UMUL_HI TGSI
opcodes, or from OP_DIV constant folding.

Also make sure that the constant foldings which delete the original
instruction still get counted as having done something.

Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarBen Skeggs <bskeggs@redhat.com>
(cherry picked from commit d2a3de19)
parent 5d8e60dc
No related branches found
No related tags found
No related merge requests found
Loading
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