[all-commits] [llvm/llvm-project] fda519: [MLIR][SPIRVToLLVM] Add skeleton for SPIR-V to LLV...

George Mitenkov via All-commits all-commits at lists.llvm.org
Mon Jun 8 15:45:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fda5192d4fa67e44f211b1a5dc04168670aa86ef
      https://github.com/llvm/llvm-project/commit/fda5192d4fa67e44f211b1a5dc04168670aa86ef
  Author: George Mitenkov <georgemitenk0v at gmail.com>
  Date:   2020-06-08 (Mon, 08 Jun 2020)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    A mlir/include/mlir/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.h
    A mlir/include/mlir/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVMPass.h
    M mlir/include/mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h
    M mlir/include/mlir/InitAllPasses.h
    M mlir/lib/Conversion/CMakeLists.txt
    A mlir/lib/Conversion/SPIRVToLLVM/CMakeLists.txt
    A mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
    A mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVMPass.cpp
    A mlir/test/Conversion/SPIRVToLLVM/convert-to-llvm.mlir

  Log Message:
  -----------
  [MLIR][SPIRVToLLVM] Add skeleton for SPIR-V to LLVM dialect conversion

These commits set up the skeleton for SPIR-V to LLVM dialect conversion.
I created SPIR-V to LLVM pass, registered it in Passes.td, InitAllPasses.h.
Added a pattern for `spv.BitwiseAndOp` and tests for it. Integer, float
and vector types are converted through LLVMTypeConverter.

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




More information about the All-commits mailing list