[all-commits] [llvm/llvm-project] 6f5e99: [DirectX] legalize usub.sat (#135288)
Farzon Lotfi via All-commits
all-commits at lists.llvm.org
Fri Apr 11 11:33:08 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f5e993b179a6f93b40d375a8864f2a482f3ca5d
https://github.com/llvm/llvm-project/commit/6f5e993b179a6f93b40d375a8864f2a482f3ca5d
Author: Farzon Lotfi <farzonlotfi at microsoft.com>
Date: 2025-04-11 (Fri, 11 Apr 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
A llvm/test/CodeGen/DirectX/usub_sat.ll
Log Message:
-----------
[DirectX] legalize usub.sat (#135288)
fixes #135285
This change implements the `usub.sat` intrinsic to perform an unsigned
saturating subtraction on the 2 arguments.
The minimum value this operation is clamp to is 0.
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