This patch adds basic op definition, parser/printer, and verifier.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D95825
[mlir][spirv] Define sp.VectorShuffle ClosedPublic Authored by antiagainst on Feb 1 2021, 2:45 PM.
Details Summary This patch adds basic op definition, parser/printer, and verifier.
Diff Detail
Event Timeline
antiagainst added inline comments. This revision is now accepted and ready to land.Feb 2 2021, 6:16 AM antiagainst added a child revision: D95873: [mlir][vector] Add patterns to cast away leading 1-dim.Feb 2 2021, 7:30 AM Closed by commit rGe901188cf9e3: [mlir][spirv] Define sp.VectorShuffle (authored by antiagainst). · Explain WhyFeb 2 2021, 8:12 AM This revision was automatically updated to reflect the committed changes. antiagainst marked 2 inline comments as done.
Revision Contents
Diff 320757 mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCompositeOps.td
mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
mlir/test/Dialect/SPIRV/IR/composite-ops.mlir
mlir/test/Target/SPIRV/composite-op.mlir
|
Do we need a check to make sure the sources and result have the same component type? I don't see it.