================
@@ -0,0 +1,212 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
+// RUN: %clang_cc1 -cl-std=CL2.0 -O0 -triple amdgpu12.50-unknown-unknown
-emit-llvm -o - %s | FileCheck %s
+// REQUIRES: amdgpu-registered-target
+
+// Builtins unsupported on gfx1310.
+
+typedef short __attribute__((ext_vector_type(2))) short2;
+typedef unsigned short __attribute__((ext_vector_type(2))) ushort2;
+
+// CHECK-LABEL: @test_setprio_inc_wg(
+// CHECK-NEXT: entry:
+// CHECK-NEXT: call void @llvm.amdgcn.s.setprio.inc.wg(i16 10)
+// CHECK-NEXT: ret void
+//
+void test_setprio_inc_wg() {
+ __builtin_amdgcn_s_setprio_inc_wg(10);
----------------
chinmaydd wrote:
Yes, its a general cleanup / refactor of these tests. Some of them did not have
gfx1250 CHECK lines. Some of them were missing gfx13 ones and such. Maybe I can
reword the PR title.
https://github.com/llvm/llvm-project/pull/231284
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits