This is an archive of the discontinued LLVM Phabricator instance.

[mlir][LLVM] Add remaining llvm.matrix intrinsics
ClosedPublic

Authored by nicolasvasilache on Mar 9 2020, 8:59 AM.

Details

Summary

This revision adds intrinsics for transpose, columnwise.load and columnwise.store
achieving full coverage of the llvm.matrix intrinsics.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2020, 8:59 AM
aartbik accepted this revision.Mar 9 2020, 9:36 AM
aartbik added inline comments.
mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
794

this is very minor, but I slightly prefer stating what the class does (Create a columnwise....) and then state "as specific in the LLMV Matrix builder'

795

since we heavily overload 'vector's and 'tensors', perhaps make the 2-D matrix clear in the comment
(although later implied by rows/columns of course)

814

misses:

Creates a columnwise, strided matrix store.

to be consistent with all others.

851

how about repeating 'rows' and row, as

... call, transposing a 'rows' x 'columns' 2-D 'matrix'

This revision is now accepted and ready to land.Mar 9 2020, 9:36 AM
nicolasvasilache marked 4 inline comments as done.

Address comments

This revision was automatically updated to reflect the committed changes.