[all-commits] [llvm/llvm-project] 929189: [MLIR][LLVM] Expose type translator from LLVM to M...

William Moses via All-commits all-commits at lists.llvm.org
Thu Jun 24 09:06:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 929189a4995ece3162adced7a7d9be8e17dc4079
      https://github.com/llvm/llvm-project/commit/929189a4995ece3162adced7a7d9be8e17dc4079
  Author: William S. Moses <gh at wsmoses.com>
  Date:   2021-06-24 (Thu, 24 Jun 2021)

  Changed paths:
    M mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
    A mlir/include/mlir/Target/LLVMIR/TypeFromLLVM.h
    A mlir/include/mlir/Target/LLVMIR/TypeToLLVM.h
    R mlir/include/mlir/Target/LLVMIR/TypeTranslation.h
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Target/LLVMIR/CMakeLists.txt
    M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    A mlir/lib/Target/LLVMIR/TypeFromLLVM.cpp
    A mlir/lib/Target/LLVMIR/TypeToLLVM.cpp
    R mlir/lib/Target/LLVMIR/TypeTranslation.cpp

  Log Message:
  -----------
  [MLIR][LLVM] Expose type translator from LLVM to MLIR Type

This commit moves the type translator from LLVM to MLIR to a public header for use by external projects or other code.

Unlike a previous attempt (https://reviews.llvm.org/D104726), this patch moves the type conversion into separate files which remedies the linker error which was only caught by CI.

Differential Revision: https://reviews.llvm.org/D104834




More information about the All-commits mailing list