1 // REQUIRES
: amdgpu-registered-target
3 // RUN
: %clang_cc1 -triple amdgcn-unknown-unknown -target-cpu gfx1100 -verify -emit-llvm -o - %s
5 void test_s_sleep_var
(int d
)
7 __builtin_amdgcn_s_sleep_var
(d); // expected-error {{'__builtin_amdgcn_s_sleep_var' needs target feature gfx12-insts}}