[PATCH] D76350: [mlir] lower loop.if operations that yield a result

Tobias Gysi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 18 03:46:20 PDT 2020


gysit created this revision.
gysit added a reviewer: ftynse.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.

The patch extends the loop dialect lowering to support loop.if operations that yield one or more results. In particular, the patch ensures the results yielded by the then and else blocks are forwarded to the continuation block.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76350

Files:
  mlir/lib/Conversion/LoopToStandard/ConvertLoopToStandard.cpp
  mlir/test/Conversion/convert-to-cfg.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76350.251025.patch
Type: text/x-patch
Size: 5338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200318/a3d6c6a5/attachment.bin>


More information about the llvm-commits mailing list