[PATCH] D73934: [mlir] Add support for basic location translation to LLVM.

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 15:16:46 PST 2020


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

This revision adds basic support for emitting line table information when exporting to LLVMIR. We don't yet have a story for supporting all of the LLVM debug metadata, so this revision stubs some features(like subprograms) to enable emitting line tables.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73934

Files:
  mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
  mlir/include/mlir/Transforms/Passes.h
  mlir/lib/Target/CMakeLists.txt
  mlir/lib/Target/LLVMIR/ConvertToNVVMIR.cpp
  mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
  mlir/lib/Target/LLVMIR/DebugTranslation.cpp
  mlir/lib/Target/LLVMIR/DebugTranslation.h
  mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
  mlir/lib/Transforms/StripDebugInfo.cpp
  mlir/test/Target/llvmir-debug.mlir
  mlir/test/Target/llvmir.mlir
  mlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73934.242215.patch
Type: text/x-patch
Size: 28732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200203/f7ee057a/attachment-0001.bin>


More information about the llvm-commits mailing list