[all-commits] [llvm/llvm-project] d7929b: [AMDGPU] Lower uniform uaddsat to SALU instructions
Anshil Gandhi via All-commits
all-commits at lists.llvm.org
Thu Jul 16 18:44:25 PDT 2026
Branch: refs/heads/users/gandhi56/amdgpu-isel/uaddsat-i16-gcnpat
Home: https://github.com/llvm/llvm-project
Commit: d7929b087065dddbb48d812624d35f923b49aa9f
https://github.com/llvm/llvm-project/commit/d7929b087065dddbb48d812624d35f923b49aa9f
Author: Anshil Gandhi <Anshil.Gandhi at amd.com>
Date: 2026-07-16 (Thu, 16 Jul 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll
M llvm/test/CodeGen/AMDGPU/uaddsat.ll
Log Message:
-----------
[AMDGPU] Lower uniform uaddsat to SALU instructions
Map uniform uaddsat.i16(i16 a, i16 b) to the following:
```
s_and_b32 s2, s0, 0xffff ; s0 = i16 a
s_and_b32 s3, s1, 0xffff ; s1 = i16 b
s_add_i32 s4, s3, s2
s_min_u32 s5, s4, 0xffff
```
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