diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/common/ac_llvm_build.c | 1 | ||||
-rw-r--r-- | src/amd/common/ac_llvm_build.h | 1 |
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; |