1// REQUIRES: amdgpu-registered-target 2// RUN: %clang_cc1 -triple amdgcn-- -target-cpu tahiti -verify -S -o - %s 3// RUN: %clang_cc1 -triple amdgcn-- -target-cpu hawaii -verify -S -o - %s 4 5void test_vi_s_dcache_wb() 6{ 7 __builtin_amdgcn_s_dcache_wb(); // expected-error {{'__builtin_amdgcn_s_dcache_wb' needs target feature gfx8-insts}} 8} 9