This builder provides a convenient way for targets to lower various matrix
operations to LLVM IR, making use of matrix intrinsics where available.
Unit tests: pass. 61252 tests passed, 0 failed and 736 were skipped.
clang-tidy: fail. Please fix clang-tidy findings.
Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
Is ResultNumElementsFlattened needed? I notice there is no comments for this parameter in the function head.
ResultNumElementsFlattened = Rows * Columns?
Remove unnecessary ResultNumElementsFlattened, add doc-comments.
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.
LGTM, however it would better if this patch also converted existing code to use this new API.
Should probably call CreateMul.