[all-commits] [llvm/llvm-project] c0a638: [mlir][SPIRVToLLVM] Solve ExecutionModeOp redefini...

Weiwei via All-commits all-commits at lists.llvm.org
Tue Oct 12 19:04:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0a6381e49840b9fcf58b43e33f8484cc408e15b
      https://github.com/llvm/llvm-project/commit/c0a6381e49840b9fcf58b43e33f8484cc408e15b
  Author: Weiwei Li <weiwei.li1 at huawei.com>
  Date:   2021-10-13 (Wed, 13 Oct 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
    M mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
    M mlir/test/Conversion/SPIRVToLLVM/misc-ops-to-llvm.mlir
    M mlir/test/Dialect/SPIRV/IR/memory-ops.mlir

  Log Message:
  -----------
  [mlir][SPIRVToLLVM] Solve ExecutionModeOp redefinition and add OpTypeSampledImage into SPV_Type

1. To avoid two ExecutionModeOp using the same name, adding the value of execution mode in name when converting to LLVM dialect.
2. To avoid syntax error in spv.OpLoad, add OpTypeSampledImage into SPV_Type.

Reviewed by:antiagainst

Differential revision:https://reviews.llvm.org/D111193




More information about the All-commits mailing list