[PATCH] D73379: [mlir] Add support for marking 'unknown' operations as dynamically legal.

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 24 12:46:40 PST 2020


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

This allows for providing a default "catchall" legality check that is not dependent on specific operations or dialects. For example, this can be useful to check legality based on the specific types of operation operands or results.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73379

Files:
  mlir/docs/DialectConversion.md
  mlir/include/mlir/Transforms/DialectConversion.h
  mlir/lib/Transforms/DialectConversion.cpp
  mlir/test/Transforms/test-legalizer-full.mlir
  mlir/test/lib/TestDialect/TestPatterns.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73379.240275.patch
Type: text/x-patch
Size: 7785 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200124/a9eba7f3/attachment.bin>


More information about the llvm-commits mailing list