summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-03-05 00:15:31 +0100
committerMarek Olšák <[email protected]>2017-03-06 14:13:04 +0100
commit7e1faa79d31b44e3b3d7a4dc22d9b136300a761e (patch)
tree4f747c02d078e71ee4cbfeabe70f439e77174e1d /src/gallium/drivers/radeonsi/si_shader.c
parentd5d74fe2b528da8124193366c9c3ad739a3abd50 (diff)
radeonsi: drop support for LLVM 3.6 & 3.7
They are too old. Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index edfa2848535..ba2966124c7 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -600,7 +600,7 @@ static LLVMValueRef get_bounded_indirect_index(struct si_shader_context *ctx,
* - SI & CIK hang
* - VI crashes
*/
- if (HAVE_LLVM <= 0x0308)
+ if (HAVE_LLVM == 0x0308)
return LLVMGetUndef(ctx->i32);
return si_llvm_bound_index(ctx, result, num);