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

Harrison Hao via All-commits all-commits at lists.llvm.org
Fri Sep 25 06:03:53 PDT 2026


  Branch: refs/heads/users/harrisonGPU/sudot-zero-fold
  Home:   https://github.com/llvm/llvm-project
  Commit: f05fce633bc65b6d5c06583196beec1c04ffb5de
      https://github.com/llvm/llvm-project/commit/f05fce633bc65b6d5c06583196beec1c04ffb5de
  Author: Harrison Hao <tsworld1314 at gmail.com>
  Date:   2026-09-25 (Fri, 25 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