[llvm] [clang] [AMDGPU][GFX12] Add 16 bit atomic fadd instructions (PR #75917)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 19 02:12:32 PST 2023


================
@@ -0,0 +1,92 @@
+// RUN: %clang_cc1 -O0 -cl-std=CL2.0 -triple amdgcn-amd-amdhsa -target-cpu gfx1200 \
+// RUN:   %s -S -emit-llvm -o - | FileCheck %s
+
+// RUN: %clang_cc1 -O0 -cl-std=CL2.0 -triple amdgcn-amd-amdhsa -target-cpu gfx1200 \
+// RUN:   -S -o - %s | FileCheck -check-prefix=GFX12 %s
+
----------------
arsenm wrote:

Missing the test that shows these are rejected on other targets?

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


More information about the cfe-commits mailing list