ac: fix ac_get_type_size() for doubles
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:

committed by
Dave Airlie

parent
4cab214e76
commit
fafa299511
@@ -99,6 +99,7 @@ ac_get_type_size(LLVMTypeRef type)
|
|||||||
return LLVMGetIntTypeWidth(type) / 8;
|
return LLVMGetIntTypeWidth(type) / 8;
|
||||||
case LLVMFloatTypeKind:
|
case LLVMFloatTypeKind:
|
||||||
return 4;
|
return 4;
|
||||||
|
case LLVMDoubleTypeKind:
|
||||||
case LLVMPointerTypeKind:
|
case LLVMPointerTypeKind:
|
||||||
return 8;
|
return 8;
|
||||||
case LLVMVectorTypeKind:
|
case LLVMVectorTypeKind:
|
||||||
|
Reference in New Issue
Block a user