[all-commits] [llvm/llvm-project] 694023: [AMDGPU] Lower uniform uaddsat.i32 to SALU insts
Shilei Tian via All-commits
all-commits at lists.llvm.org
Thu Jul 16 13:23:29 PDT 2026
Branch: refs/heads/users/gandhi56/amdgpu-isel/uaddsat-i32-gcnpat
Home: https://github.com/llvm/llvm-project
Commit: 694023155e18183e9189b78e43581293d1b45aa5
https://github.com/llvm/llvm-project/commit/694023155e18183e9189b78e43581293d1b45aa5
Author: Shilei Tian <i at tianshilei.me>
Date: 2026-07-16 (Thu, 16 Jul 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/test/CodeGen/AMDGPU/add-max.ll
M llvm/test/CodeGen/AMDGPU/uaddsat.ll
Log Message:
-----------
[AMDGPU] Lower uniform uaddsat.i32 to SALU insts
Map uaddsat.i32(i32 %a, i32 %b) to the following:
```
s_not_b32 s4, s17 ; s17 = %b
s_min_u32 s4, s16, s4 ; s16 = %a
s_add_u32 s4, s4, s17
```
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