diff options
author | Timothy Arceri <[email protected]> | 2017-11-02 13:02:54 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-11-03 14:54:45 +1100 |
commit | ee376ac6f4cbcb3f3938b1a73bc4fc7d269eca6f (patch) | |
tree | 216a877506a4268b3f2e219b448dbe3b4307f6ce /src/amd/common/ac_llvm_build.c | |
parent | 309a51411daa7219f10154ddf63bdf83f3d02d02 (diff) |
ac: add v3i32 to the common code and make use of it
Reviewed-by: Marek Olšák <[email protected]
Acked-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.c')
-rw-r--r-- | src/amd/common/ac_llvm_build.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c index 1a0d44bcdd3..1519262b3dd 100644 --- a/src/amd/common/ac_llvm_build.c +++ b/src/amd/common/ac_llvm_build.c @@ -67,6 +67,7 @@ ac_llvm_context_init(struct ac_llvm_context *ctx, LLVMContextRef context, ctx->f32 = LLVMFloatTypeInContext(ctx->context); ctx->f64 = LLVMDoubleTypeInContext(ctx->context); ctx->v2i32 = LLVMVectorType(ctx->i32, 2); + ctx->v3i32 = LLVMVectorType(ctx->i32, 3); ctx->v4i32 = LLVMVectorType(ctx->i32, 4); ctx->v4f32 = LLVMVectorType(ctx->f32, 4); ctx->v8i32 = LLVMVectorType(ctx->i32, 8); |