This builder provides a convenient way for targets to lower various matrix
operations to LLVM IR, making use of matrix intrinsics where available.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Unit tests: pass. 61252 tests passed, 0 failed and 736 were skipped.
clang-tidy: fail. Please fix clang-tidy findings.
clang-format: pass.
Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
| llvm/include/llvm/IR/MatrixBuilder.h | ||
|---|---|---|
| 48 | Is ResultNumElementsFlattened needed? I notice there is no comments for this parameter in the function head. | |
| llvm/include/llvm/IR/MatrixBuilder.h | ||
|---|---|---|
| 48 | ResultNumElementsFlattened is indexed unnecessary here and elsewhere in this patch. I've removed it. | |
Unit tests: pass. 61321 tests passed, 0 failed and 736 were skipped.
clang-tidy: fail. Please fix clang-tidy findings.
clang-format: pass.
Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
LGTM, however it would better if this patch also converted existing code to use this new API.
| llvm/include/llvm/IR/MatrixBuilder.h | ||
|---|---|---|
| 153–156 | Should probably call CreateMul. | |
Is ResultNumElementsFlattened needed? I notice there is no comments for this parameter in the function head.
ResultNumElementsFlattened = Rows * Columns?