[PATCH] D76864: [mlir] StandardToLLVM: make one-to-one convresion pattern publicly available

Alex Zinenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 10:18:20 PDT 2020


ftynse created this revision.
ftynse added a reviewer: nicolasvasilache.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.
ftynse added a child revision: D76865: [mlir] StandardToLLVM: clean up conversion patterns for vector operations.
nicolasvasilache accepted this revision.
This revision is now accepted and ready to land.

The Standard-to-LLVM dialect convresion has a set of utility classes that
simplify conversions, including patterns that provide one-to-one conversion
operation conversion with optional result packing. Expose these classes in a
public header so that conversions other than Standard-to-LLVM (e.g. vectors, or
LLVM-based intrinsics) could also use them. Since the patterns are implemented
as class templates and in order to keep the code size limited, keep the
implementation private by resorting to op identifiers instead of template-based
builders.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76864

Files:
  mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
  mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76864.252889.patch
Type: text/x-patch
Size: 27328 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200326/73c7dee5/attachment.bin>


More information about the llvm-commits mailing list