[all-commits] [llvm/llvm-project] 423429: [mlir][SPIRV] Rename OpSpecConstantOperation -> Op...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Thu Jan 21 08:01:20 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4234292ecf4902ad53286652acc3969c6758fed0
      https://github.com/llvm/llvm-project/commit/4234292ecf4902ad53286652acc3969c6758fed0
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2021-01-21 (Thu, 21 Jan 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
    M mlir/lib/Target/SPIRV/Deserialization/DeserializeOps.cpp
    M mlir/lib/Target/SPIRV/Deserialization/Deserializer.h
    M mlir/lib/Target/SPIRV/Serialization/Serialization.cpp
    M mlir/utils/spirv/define_opcodes.sh

  Log Message:
  -----------
  [mlir][SPIRV] Rename OpSpecConstantOperation -> OpSpecConstantOp

The SPIR-V spec uses OpSpecConstantOp. Using an inconsistent name
makes the dialect generation scripts fail. Update to use the right
operation name, and fix the auto generation scripts as well.

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


  Commit: 615167c9f74962ffbc70e4481655762783f4705c
      https://github.com/llvm/llvm-project/commit/615167c9f74962ffbc70e4481655762783f4705c
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2021-01-21 (Thu, 21 Jan 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVLogicalOps.td
    M mlir/lib/Conversion/StandardToSPIRV/StandardToSPIRV.cpp
    M mlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
    M mlir/test/Target/SPIRV/logical-ops.mlir
    M mlir/utils/spirv/define_inst.sh

  Log Message:
  -----------
  [mlir]][SPIRV] Define OrderedOp and UnorderedOp and add lowerings from Standard.

Define OrderedOp and UnorderedOp instructions in SPIR-V and convert
cmpf operations with `ord` and `uno` tag to these instructions
respectively.

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


Compare: https://github.com/llvm/llvm-project/compare/c0b3c5a06451...615167c9f749


More information about the All-commits mailing list