[llvm] AMDGPU: Add codegen for atomicrmw operations usub_cond and usub_sat (PR #141068)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 30 07:20:07 PDT 2025


================
@@ -0,0 +1,115 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1200 < %s | FileCheck -check-prefixes=GFX12 %s
----------------
anjenner wrote:

Done in https://github.com/llvm/llvm-project/commit/c2e8ead5ff9586c24830449cd59998882cc3e35e (also for buffer-fat-pointer-atomicrmw-usub_sat.ll) and fixed the test to use the correct atomicrmw operation.

https://github.com/llvm/llvm-project/pull/141068


More information about the llvm-commits mailing list