summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_pack.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2014-05-08 13:25:28 +0100
committerJosé Fonseca <[email protected]>2014-05-14 11:04:59 +0100
commit9cf67e51b06b4b136d03e642b18b4a4e36a1dabb (patch)
treea79ebd49f932318ed663e6eb59629d780dffeaa4 /src/gallium/auxiliary/gallivm/lp_bld_pack.c
parentecef2da0b2035b1043441ffd322802cfa4a9f36f (diff)
gallivm,draw,llvmpipe: Remove support for versions of LLVM prior to 3.1.
Older versions haven't been tested probably don't work anyway. But more importantly, code supporting it is hindering further work. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_pack.c')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_pack.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_pack.c b/src/gallium/auxiliary/gallivm/lp_bld_pack.c
index 2b0a1fba08d..a48a9225eb2 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_pack.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_pack.c
@@ -455,10 +455,6 @@ lp_build_pack2(struct gallivm_state *gallivm,
LLVMValueRef res = NULL;
struct lp_type intr_type = dst_type;
-#if HAVE_LLVM < 0x0207
- intr_type = src_type;
-#endif
-
assert(!src_type.floating);
assert(!dst_type.floating);
assert(src_type.width == dst_type.width * 2);
@@ -478,10 +474,6 @@ lp_build_pack2(struct gallivm_state *gallivm,
else {
if (util_cpu_caps.has_sse4_1) {
intrinsic = "llvm.x86.sse41.packusdw";
-#if HAVE_LLVM < 0x0207
- /* llvm < 2.7 has inconsistent signatures except for packusdw */
- intr_type = dst_type;
-#endif
}
}
} else if (util_cpu_caps.has_altivec) {