[PATCH] D79683: [mlir] Add std.source and std.sink ops.

Sean Silva via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 9 19:08:28 PDT 2020


silvas created this revision.
silvas added a reviewer: rriddle.
Herald added subscribers: llvm-commits, Kayjukh, frgossen, grosul1, Joonsoo, stephenneuendorffer, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, mehdi_amini.
Herald added a project: LLVM.

These ops are useful for test case reduction and test writing.

Example:

  mlir
  %0 = source : i1
  sink %0 : i1
  
  %a, %b = source : i1, i2
  sink %a, %b : i1, i2


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79683

Files:
  mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
  mlir/lib/Dialect/StandardOps/IR/Ops.cpp
  mlir/test/Dialect/Standard/source-sink.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79683.263045.patch
Type: text/x-patch
Size: 5613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200510/d268a92d/attachment.bin>


More information about the llvm-commits mailing list