[PATCH] D73468: [mlir] LLVM dialect: Generate conversions between EnumAttrCase and LLVM API

Alex Zinenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 12:54:50 PST 2020


ftynse updated this revision to Diff 241553.
ftynse added a comment.

Split "from" and "to" conversion generation and added more doc as requested.

Without the splitting, it would generate functions that eneded up being unused
by the respective conversions, leading to warnings.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73468/new/

https://reviews.llvm.org/D73468

Files:
  mlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt
  mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
  mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
  mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
  mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
  mlir/tools/mlir-tblgen/LLVMIRConversionGen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73468.241553.patch
Type: text/x-patch
Size: 15730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200130/6ed8fbcf/attachment.bin>


More information about the llvm-commits mailing list