[all-commits] [llvm/llvm-project] 302758: [mlir][spirv] Define `OpSMulExtended` and `OpUMulE...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Wed Nov 23 16:06:19 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30275821f1cacd855c7f9246351242223bed9d29
      https://github.com/llvm/llvm-project/commit/30275821f1cacd855c7f9246351242223bed9d29
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2022-11-23 (Wed, 23 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVArithmeticOps.td
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
    M mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
    M mlir/test/Dialect/SPIRV/IR/arithmetic-ops.mlir

  Log Message:
  -----------
  [mlir][spirv] Define `OpSMulExtended` and `OpUMulExtended` ops

These perform exact multiplication and return the high half as a second
result.

Also factor out common code shared between 'extended binary ops'.

Reviewed By: antiagainst

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




More information about the All-commits mailing list