[all-commits] [llvm/llvm-project] ce8f10: [mlir] Simplify ModuleTranslation for LLVM IR
    ftynse via All-commits 
    all-commits at lists.llvm.org
       
    Tue Feb 16 09:43:16 PST 2021
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce8f10d6cbe03c1a78a7938070654d363e25f27d
      https://github.com/llvm/llvm-project/commit/ce8f10d6cbe03c1a78a7938070654d363e25f27d
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2021-02-16 (Tue, 16 Feb 2021)
  Changed paths:
    M mlir/examples/toy/Ch6/toyc.cpp
    M mlir/examples/toy/Ch7/toyc.cpp
    M mlir/include/mlir/Target/LLVMIR.h
    A mlir/include/mlir/Target/LLVMIR/Export.h
    M mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
    M mlir/lib/ExecutionEngine/ExecutionEngine.cpp
    M mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
    M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/lib/Transforms/TestConvertGPUKernelToCubin.cpp
    M mlir/test/lib/Transforms/TestConvertGPUKernelToHsaco.cpp
    M mlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
    M mlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp
    M mlir/tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp
  Log Message:
  -----------
  [mlir] Simplify ModuleTranslation for LLVM IR
A series of preceding patches changed the mechanism for translating MLIR to
LLVM IR to use dialect interface with delayed registration. It is no longer
necessary for specific dialects to derive from ModuleTranslation. Remove all
virtual methods from ModuleTranslation and factor out the entry point to be a
free function.
Also perform some cleanups in ModuleTranslation internals.
Depends On D96774
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D96775
    
    
More information about the All-commits
mailing list