summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-08 20:04:28 +0200
committerDave Airlie <[email protected]>2017-06-27 10:28:29 +1000
commitedfd3be77e291fa4b0736ab05618180ef2dfde59 (patch)
treebca2a972b54d5e48c5d4be0487ba7f45b9510a25 /src/amd
parent331a574732be0658ac5c5e417f9c48518f4a4280 (diff)
ac: add ac_llvm_context::v8i32
Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/common/ac_llvm_build.c1
-rw-r--r--src/amd/common/ac_llvm_build.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c
index 5dd7bc1fd6b..9d78b12ddf3 100644
--- a/src/amd/common/ac_llvm_build.c
+++ b/src/amd/common/ac_llvm_build.c
@@ -64,6 +64,7 @@ ac_llvm_context_init(struct ac_llvm_context *ctx, LLVMContextRef context)
ctx->f64 = LLVMDoubleTypeInContext(ctx->context);
ctx->v4i32 = LLVMVectorType(ctx->i32, 4);
ctx->v4f32 = LLVMVectorType(ctx->f32, 4);
+ ctx->v8i32 = LLVMVectorType(ctx->i32, 8);
ctx->v16i8 = LLVMVectorType(ctx->i8, 16);
ctx->i32_0 = LLVMConstInt(ctx->i32, 0, false);
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h
index 78909928223..b9aeacdec96 100644
--- a/src/amd/common/ac_llvm_build.h
+++ b/src/amd/common/ac_llvm_build.h
@@ -48,6 +48,7 @@ struct ac_llvm_context {
LLVMTypeRef f64;
LLVMTypeRef v4i32;
LLVMTypeRef v4f32;
+ LLVMTypeRef v8i32;
LLVMTypeRef v16i8;
LLVMValueRef i32_0;