[PATCH] D78683: [mlir][Standard] Add support for canonicalizing branches to passthrough blocks

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 22 15:48:36 PDT 2020


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

This revision adds support for canonicalizing the following:

    br ^bb1
  ^bb1
    br ^bbN(...)
  
  br ^bbN(...)

Depends On D78682 <https://reviews.llvm.org/D78682>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78683

Files:
  mlir/lib/Dialect/StandardOps/IR/Ops.cpp
  mlir/test/Dialect/Standard/canonicalize-cf.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78683.259420.patch
Type: text/x-patch
Size: 7753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200422/471368d7/attachment.bin>


More information about the llvm-commits mailing list