7 ms·
Write a matrix multiply. Or a linear equation solver.
by Animats 12y ago
Write a matrix multiply. Or a linear equation solver.
- pcwalton 12y agoThe bounds checks for matrix multiplication over fixed length arrays are completely optimized out by LLVM, and LLVM will also optimize the bounds checks for non-fixed-length arrays in many cases. The slice length is an SSA value, so it's subject to constant propagation and SCCP.