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

nv50/ir: clean up saturated values immediately


Since we don't iterate to a fixed point, we can end up in situations
where we have a SAT instruction + a long immediate. This is not legal.
However since it's immediately computable, just run unary straight away
to handle the situation.

Fixes: 24a799ad ("nv50/ir: fix ConstantFolding with saturation")
Reported-by: default avatarTobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit 165e18dd)
parent cc8ae884
No related branches found
No related tags found
Loading
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