[all-commits] [llvm/llvm-project] 38e802: [mlir][spirv] Allow converting from index type in ...

Lei Zhang via All-commits all-commits at lists.llvm.org
Wed Apr 27 07:21:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38e802a09de645b54c3fc983d692a1436bfc7d13
      https://github.com/llvm/llvm-project/commit/38e802a09de645b54c3fc983d692a1436bfc7d13
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M mlir/lib/Conversion/SPIRVCommon/Pattern.h
    M mlir/test/Conversion/ArithmeticToSPIRV/arithmetic-to-spirv.mlir

  Log Message:
  -----------
  [mlir][spirv] Allow converting from index type in unsigned ops

`index` type is converted to `i32` in SPIR-V. This is fine to
support for all signed/unsigned ops.

Reviewed By: hanchung

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




More information about the All-commits mailing list