diff options
| author | gingerBill <bill@gingerbill.org> | 2021-10-25 00:46:50 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-10-25 00:46:50 +0100 |
| commit | 306bdf8869f2c9676e73acbf477a302c08137087 (patch) | |
| tree | 29c2ffeb7c00008bf44b83ef2a0ca55abcbbb153 /src/llvm_backend_utility.cpp | |
| parent | 7a29f6cff0037ea9b90c0ec3f58fe62a68c2e971 (diff) | |
Update alignment rules for `matrix` types as a compromise to keep zero padding
Diffstat (limited to 'src/llvm_backend_utility.cpp')
| -rw-r--r-- | src/llvm_backend_utility.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_utility.cpp b/src/llvm_backend_utility.cpp index 6754ce798..e458c0692 100644 --- a/src/llvm_backend_utility.cpp +++ b/src/llvm_backend_utility.cpp @@ -1526,7 +1526,7 @@ LLVMValueRef llvm_mask_zero(lbModule *m, unsigned count) { return LLVMConstNull(LLVMVectorType(lb_type(m, t_u32), count)); } -LLVMValueRef llvm_splat(lbProcedure *p, LLVMValueRef value, unsigned count) { +LLVMValueRef llvm_vector_broadcast(lbProcedure *p, LLVMValueRef value, unsigned count) { GB_ASSERT(count > 0); if (LLVMIsConstant(value)) { LLVMValueRef single = LLVMConstVector(&value, 1); |