diff options
author | Roland Scheidegger <[email protected]> | 2016-06-19 03:56:11 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2016-06-20 17:19:03 +0200 |
commit | b0cf99165af445adc4c5c1f66a3a3e0d882211cd (patch) | |
tree | a3088217e36fb7119c6eafb9be37ffaa25a1473e /src/gallium/drivers/radeonsi/si_pm4.h | |
parent | 154c0a42a23187c61ea0a1307198fae667398eba (diff) |
gallivm: don't use integer min/max sse intrinsics with llvm >= 3.9
Apparently, these are deprecated. There's some AutoUpgrade feature which
is supposed to promote these to cmp/select, which apparently doesn't work
with jit code. It is possible it's not actually even meant to work (see
the bug filed against llvm which couldn't provide an answer neither)
but in any case this is meant to be only temporary unless the intrinsics
are really illegal. So, just use the fallback code (which should be cmp/select,
we're actually doing cmp/sext/trunc/select, but in any case llvm 3.9 manages
to optimize this back to pmin/pmax in the end).
This addresses https://llvm.org/bugs/show_bug.cgi?id=28176
CC: <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Tested-by: Vinson Lee <[email protected]>
Tested-by: Aaron Watry <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pm4.h')
0 files changed, 0 insertions, 0 deletions