diff options
| author | gingerBill <bill@gingerbill.org> | 2021-06-12 16:37:20 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-06-12 16:37:20 +0100 |
| commit | 582f423b6798481b9a3f58aec58a632f9d5bc54e (patch) | |
| tree | 1ce52396884e9e130291424773d1257ad5fd5426 /src/llvm_abi.cpp | |
| parent | c2524464f9d1a0cd4dd052309677550232b3957b (diff) | |
Improve vector arithmetic generation for array programming operations
Diffstat (limited to 'src/llvm_abi.cpp')
| -rw-r--r-- | src/llvm_abi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/llvm_abi.cpp b/src/llvm_abi.cpp index 233fc2413..78ce52b3f 100644 --- a/src/llvm_abi.cpp +++ b/src/llvm_abi.cpp @@ -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); |