[all-commits] [llvm/llvm-project] 7ea9ed: [AMDGPU] Fold a constant add/sub into the sudot4/s...
Harrison Hao via All-commits
all-commits at lists.llvm.org
Wed Sep 23 08:55:15 PDT 2026
Branch: refs/heads/users/harrisonGPU/sudot-constant-fold-instcombine
Home: https://github.com/llvm/llvm-project
Commit: 7ea9ed0efa5dc9fe8a3821569209a15039316740
https://github.com/llvm/llvm-project/commit/7ea9ed0efa5dc9fe8a3821569209a15039316740
Author: Harrison Hao <tsworld1314 at gmail.com>
Date: 2026-09-23 (Wed, 23 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 a constant add/sub into the sudot4/sudot8 accumulator
Fold a constant add into the accumulator operand of sudot4 and sudot8 when
clamping is disabled:
```
sudot(a, b, C1, false) + C2 -> sudot(a, b, C1 + C2, false)
```
Subtraction by a constant is canonicalized to addition of its negation.
Commit: b9047800c3b0a33ed6c4b44b4a3c9e9dd1577670
https://github.com/llvm/llvm-project/commit/b9047800c3b0a33ed6c4b44b4a3c9e9dd1577670
Author: Harrison Hao <tsworld1314 at gmail.com>
Date: 2026-09-23 (Wed, 23 Sep 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
Log Message:
-----------
Update for comments
Commit: a6e1f0e625e648746d2a999a8f8fe03a86fde2e3
https://github.com/llvm/llvm-project/commit/a6e1f0e625e648746d2a999a8f8fe03a86fde2e3
Author: Harrison Hao <tsworld1314 at gmail.com>
Date: 2026-09-23 (Wed, 23 Sep 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
Log Message:
-----------
Update again
Compare: https://github.com/llvm/llvm-project/compare/db16db9eadaf...a6e1f0e625e6
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