Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / Transforms / HipStdPar / unsupported-builtins.ll
blob19490dad80bab1b6b1fa0a5fa3e696e2f7c70cc6
1 ; RUN: not opt -S -mtriple=amdgcn-amd-amdhsa -passes=hipstdpar-select-accelerator-code \
2 ; RUN: %s 2>&1 | FileCheck %s
4 ; CHECK: error: {{.*}} in function foo void (): Accelerator does not support the __builtin_ia32_pause function
5 define amdgpu_kernel void @foo() {
6 entry:
7   call void @__builtin_ia32_pause__hipstdpar_unsupported()
8   ret void
11 declare void @__builtin_ia32_pause__hipstdpar_unsupported()