[all-commits] [llvm/llvm-project] fc148a: [MLIR][SPIRVToLLVM] Added conversion for SPIR-V co...

George Mitenkov via All-commits all-commits at lists.llvm.org
Thu Jun 11 15:53:25 PDT 2020


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

  Changed paths:
    M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
    A mlir/test/Conversion/SPIRVToLLVM/comparison-ops-to-llvm.mlir

  Log Message:
  -----------
  [MLIR][SPIRVToLLVM] Added conversion for SPIR-V comparison ops

Implemented `FComparePattern` and `IComparePattern` classes
that provide conversion of SPIR-V comparison ops (such as
`spv.FOrdGreaterThanEqual` and others) to LLVM dialect.
Also added tests in `comparison-ops-to-llvm.mlir`.

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




More information about the All-commits mailing list