[all-commits] [llvm/llvm-project] c957fe: [mlir][spirv] Add pattern to expand UMulExtended f...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Wed Jan 4 10:30:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c957fe0f6088485beea3b03cf4b4084c41226328
      https://github.com/llvm/llvm-project/commit/c957fe0f6088485beea3b03cf4b4084c41226328
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/Transforms/Passes.td
    A mlir/include/mlir/Dialect/SPIRV/Transforms/SPIRVWebGPUTransforms.h
    M mlir/lib/Dialect/SPIRV/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/SPIRV/Transforms/SPIRVWebGPUTransforms.cpp
    A mlir/test/Dialect/SPIRV/Transforms/webgpu-prepare.mlir

  Log Message:
  -----------
  [mlir][spirv] Add pattern to expand UMulExtended for WebGPU

This is needed because WGSL does not yet support extended multiplication
ops.

Set up pattern/pass stuff and handle the first op: `UMulExtended`.
`SMulExtended` handling will go to a separate patch.

Issue: https://github.com/llvm/llvm-project/issues/59563

Reviewed By: antiagainst

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




More information about the All-commits mailing list