[PATCH] D80321: [mlir][spirv] Enable composite instructions for cooperative matrix type.
Thomas Raoux via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 20 14:18:45 PDT 2020
ThomasRaoux created this revision.
ThomasRaoux added reviewers: mravishankar, antiagainst.
Herald added subscribers: llvm-commits, jurahul, Kayjukh, frgossen, grosul1, bader, Joonsoo, stephenneuendorffer, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, shauheen, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.
Enable inset/extract/construct composite ops as well as access chain for cooperative matrix. ConstantComposite requires more change and will be done in a separate patch.
Also fix the getNumElements function for coopMatrix per feedback from Jeff Bolz. The number of element is implementation dependent so it cannot be known at compile time.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80321
Files:
mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h
mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
mlir/lib/Dialect/SPIRV/SPIRVTypes.cpp
mlir/test/Dialect/SPIRV/Serialization/cooperative-matrix.mlir
mlir/test/Dialect/SPIRV/composite-ops.mlir
mlir/test/Dialect/SPIRV/cooperative-matrix.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80321.265340.patch
Type: text/x-patch
Size: 8511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200520/383fa2d2/attachment.bin>
More information about the llvm-commits
mailing list