[all-commits] [llvm/llvm-project] 449af5: [AMDGPU] Fold sudot intrinsics with a zero multipl...

Harrison Hao via All-commits all-commits at lists.llvm.org
Mon Sep 28 18:37:22 PDT 2026


  Branch: refs/heads/users/harrisonGPU/sudot-zero-fold
  Home:   https://github.com/llvm/llvm-project
  Commit: 449af54d0989b52e32aa459b87d5167afa044c0a
      https://github.com/llvm/llvm-project/commit/449af54d0989b52e32aa459b87d5167afa044c0a
  Author: Harrison Hao <tsworld1314 at gmail.com>
  Date:   2026-09-29 (Tue, 29 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.sudot.ll

  Log Message:
  -----------
  [AMDGPU] Fold sudot intrinsics with a zero multiplicand

Replace sudot4 and sudot8 with their accumulator when either
multiplicand is zero.

For example:
```
  sudot4(sign0, x, sign1, 0, acc, clamp)
  ->
  acc
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list