ac: add ac_llvm_context::v8i32
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 8 Jun 2017 18:04:28 +0000 (20:04 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 27 Jun 2017 00:28:29 +0000 (10:28 +1000)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_build.h

index 5dd7bc1fd6b036bf4cfece5b0b9c9d3d0260498e..9d78b12ddf3dc994d62ca986203abe4cec4d1b16 100644 (file)
@@ -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);
index 7890992822325e61529a9fcf313b75ee4b8c2aee..b9aeacdec9635ce669ff7b83a7cc1944e14b4dff 100644 (file)
@@ -48,6 +48,7 @@ struct ac_llvm_context {
        LLVMTypeRef f64;
        LLVMTypeRef v4i32;
        LLVMTypeRef v4f32;
+       LLVMTypeRef v8i32;
        LLVMTypeRef v16i8;
 
        LLVMValueRef i32_0;