[all-commits] [llvm/llvm-project] f60e0a: [MLIR][SPIRV] Add `UnsignedOp` trait.

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Wed Jan 6 06:29:09 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f60e0a91fbdd8e3409f5ee883a05a6c77f70720c
      https://github.com/llvm/llvm-project/commit/f60e0a91fbdd8e3409f5ee883a05a6c77f70720c
  Author: KareemErgawy-TomTom <kareem.ergawy at gmail.com>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVArithmeticOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVAtomicOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBitOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCastOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVLogicalOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVNonUniformOps.td
    A mlir/include/mlir/Dialect/SPIRV/IR/SPIRVOpTraits.h
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVOps.h
    M mlir/lib/Conversion/StandardToSPIRV/StandardToSPIRV.cpp

  Log Message:
  -----------
  [MLIR][SPIRV] Add `UnsignedOp` trait.

This commit adds a new trait that can be attached to ops that have
unsigned semantics.

TODO:
- Check if other places in code can use the new attribute (possibly in this patch).
- Add a similar `SignedOp` attribute (in a new patch).

Reviewed By: antiagainst

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




More information about the All-commits mailing list