This patch mostly affects performance of the code produced by
HLIFR lowering. If MATMUL argument is an array slice, then
HLFIR lowering passes the slice to the runtime, whereas
FIR lowering would create a contiguous temporary for the slice.
Performance might be better than the generic implementation
for cases where the leading dimension is contiguous.
This patch improves CPU2000/178.galgel making HLFIR version
faster than FIR version (due to avoiding the temporary copies
for MATMUL arguments).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Sorry to ask for an NFC here, but I'd find this bit of code easier to fully understand if all of the template flag arguments were explicitly stated, not defaulted.