[all-commits] [llvm/llvm-project] 6ddc03: [mlir][spirv][webgpu] Add lowering of IAddCarry to...

Finn Plummer via All-commits all-commits at lists.llvm.org
Thu Oct 19 15:59:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ddc03d97c0de96691ed27f05c9b30869051ce06
      https://github.com/llvm/llvm-project/commit/6ddc03d97c0de96691ed27f05c9b30869051ce06
  Author: Finn Plummer <50529406+inbelic at users.noreply.github.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

  Changed paths:
    M mlir/lib/Dialect/SPIRV/Transforms/SPIRVWebGPUTransforms.cpp
    M mlir/test/Dialect/SPIRV/Transforms/webgpu-prepare.mlir
    A mlir/test/mlir-vulkan-runner/iaddcarry_extended.mlir

  Log Message:
  -----------
  [mlir][spirv][webgpu] Add lowering of IAddCarry to IAdd (#68495)

WebGPU does not currently support extended arithmetic, this is an issue
when we want to lower from SPIR-V. This commit adds a pattern to
transform and emulate spirv.IAddCarry with spirv.IAdd operations

Fixes #65154




More information about the All-commits mailing list