[PATCH] D73635: [mlir][VectorOps] Add ShapeCastOp to the vector ops dialect.

Andy Davis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 29 08:53:37 PST 2020


andydavis1 created this revision.
andydavis1 added reviewers: nicolasvasilache, aartbik.
Herald added subscribers: llvm-commits, liufengdb, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.

Add ShapeCastOp to the vector ops dialect.

The shape_cast operation casts between an n-D source vector shape and a k-D result vector shape (the element type remains the same).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73635

Files:
  mlir/include/mlir/Dialect/VectorOps/VectorOps.td
  mlir/lib/Dialect/VectorOps/VectorOps.cpp
  mlir/test/Dialect/VectorOps/invalid.mlir
  mlir/test/Dialect/VectorOps/ops.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73635.241175.patch
Type: text/x-patch
Size: 11856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200129/0287a175/attachment.bin>


More information about the llvm-commits mailing list