ac: fix ac_get_type_size() for doubles
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
4cab214e76
commit
fafa299511
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue