aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/amd/common/ac_llvm_build.c1
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 a765c0d7500..f8ae9db3357 100644
--- a/src/amd/common/ac_llvm_build.c
+++ b/src/amd/common/ac_llvm_build.c
@@ -99,6 +99,7 @@ ac_get_type_size(LLVMTypeRef type)
return LLVMGetIntTypeWidth(type) / 8;
case LLVMFloatTypeKind:
return 4;
+ case LLVMDoubleTypeKind:
case LLVMPointerTypeKind:
return 8;
case LLVMVectorTypeKind: