mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-13 14:51:26 -07:00
Improve vector arithmetic generation for array programming operations
This commit is contained in:
@@ -272,6 +272,7 @@ i64 lb_alignof(LLVMTypeRef type) {
|
||||
return 8;
|
||||
case LLVMVectorTypeKind:
|
||||
{
|
||||
// TODO(bill): This appears to be correct but LLVM isn't necessarily "great" with regards to documentation
|
||||
LLVMTypeRef elem = LLVMGetElementType(type);
|
||||
i64 elem_size = lb_sizeof(elem);
|
||||
i64 count = LLVMGetVectorSize(type);
|
||||
|
||||
Reference in New Issue
Block a user