[PATCH] D74893: [mlir] Intrinsics generator: use TableGen-defined builder function

Alex Zinenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 04:24:51 PST 2020


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

Originally, intrinsics generator for the LLVM dialect has been producing
customized code fragments for the translation of MLIR operations to LLVM IR
intrinsics. LLVM dialect ODS now provides a generalized version of the
translation code, parameterizable with the properties of the operation.
Generate ODS that uses this version of the translation code instead of
generating a new version of it for each intrinsic.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74893

Files:
  mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
  mlir/test/mlir-tblgen/llvm-intrinsics.td
  mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74893.245617.patch
Type: text/x-patch
Size: 6567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200220/708d5002/attachment.bin>


More information about the llvm-commits mailing list