[all-commits] [llvm/llvm-project] 9600b5: [mlir][spirv] Support integer signedness

Lei Zhang via All-commits all-commits at lists.llvm.org
Wed Mar 4 12:20:40 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9600b55ac8b10012524ee93b90de22ded6d1f4a8
      https://github.com/llvm/llvm-project/commit/9600b55ac8b10012524ee93b90de22ded6d1f4a8
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2020-03-04 (Wed, 04 Mar 2020)

  Changed paths:
    M mlir/docs/Dialects/SPIR-V.md
    M mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
    M mlir/include/mlir/Dialect/SPIRV/SPIRVGroupOps.td
    M mlir/include/mlir/Dialect/SPIRV/SPIRVNonUniformOps.td
    M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
    M mlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
    M mlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
    M mlir/test/Dialect/SPIRV/Serialization/cast-ops.mlir
    M mlir/test/Dialect/SPIRV/Serialization/constant.mlir
    M mlir/test/Dialect/SPIRV/non-uniform-ops.mlir
    M mlir/test/Dialect/SPIRV/ops.mlir

  Log Message:
  -----------
  [mlir][spirv] Support integer signedness

This commit updates SPIR-V dialect to support integer signedness
by relaxing various checks for signless to just normal integers.

The hack for spv.Bitcast can now be removed.

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




More information about the All-commits mailing list