diff options
author | Ilia Mirkin <[email protected]> | 2017-08-12 13:43:34 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2017-08-12 14:49:08 -0400 |
commit | 165e18dd219fbf4d60fd582b02e2dbf75ccd026f (patch) | |
tree | 5757070b42322ca6d648dfbf92b92dd14114df60 /include/c99_alloca.h | |
parent | ea22ac23e04c093f9dd0bb8f9b946e61d79824ff (diff) |
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: 24a799ad35a82 ("nv50/ir: fix ConstantFolding with saturation")
Reported-by: Tobias Klausmann <[email protected]>
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: [email protected]
Diffstat (limited to 'include/c99_alloca.h')
0 files changed, 0 insertions, 0 deletions