[all-commits] [llvm/llvm-project] b5c24c: [MLIR][SPIRVToLLVM] Implementation of SPIR-V modul...

George Mitenkov via All-commits all-commits at lists.llvm.org
Wed Jun 24 17:47:35 PDT 2020


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

  Changed paths:
    M mlir/include/mlir/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.h
    M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
    M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVMPass.cpp
    A mlir/test/Conversion/SPIRVToLLVM/module-ops-to-llvm.mlir

  Log Message:
  -----------
  [MLIR][SPIRVToLLVM] Implementation of SPIR-V module conversion pattern

This patch introduces conversion patterns for `spv.module` and `spv._module_end`.
SPIR-V module is converted into `ModuleOp`. This will play a role of enclosing
scope to LLVM ops. At the moment, SPIR-V module attributes (such as memory model,
etc) are ignored.

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




More information about the All-commits mailing list