[all-commits] [llvm/llvm-project] f8fb2a: [mlir][spirv] Fix spv.GLSL.{S|U}Clamp type checking

Lei Zhang via All-commits all-commits at lists.llvm.org
Tue Mar 8 12:58:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8fb2aff70621c0d5ac9dfcc8c48bdd869058f86
      https://github.com/llvm/llvm-project/commit/f8fb2aff70621c0d5ac9dfcc8c48bdd869058f86
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVGLSLOps.td
    M mlir/test/Dialect/SPIRV/IR/glsl-ops.mlir

  Log Message:
  -----------
  [mlir][spirv] Fix spv.GLSL.{S|U}Clamp type checking

It's fine to use any integer (vector) values regardless of the
signedness. The opcode decides how to interpret the bits.

Reviewed By: hanchung

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




More information about the All-commits mailing list