1; RUN: not opt -S -mtriple=amdgcn-amd-amdhsa -passes=hipstdpar-select-accelerator-code \ 2; RUN: %s 2>&1 | FileCheck %s 3 4; CHECK: error: {{.*}} in function foo void (): Accelerator does not support the __builtin_ia32_pause function 5define amdgpu_kernel void @foo() { 6entry: 7 call void @__builtin_ia32_pause__hipstdpar_unsupported() 8 ret void 9} 10 11declare void @__builtin_ia32_pause__hipstdpar_unsupported()