brintos

brintos / llvm-project-archived public Read only

0
0
Text · 405 B · 19490da Raw
11 lines · plain
1; RUN: not opt -S -mtriple=amdgcn-amd-amdhsa -passes=hipstdpar-select-accelerator-code \2; RUN: %s 2>&1 | FileCheck %s3 4; CHECK: error: {{.*}} in function foo void (): Accelerator does not support the __builtin_ia32_pause function5define amdgpu_kernel void @foo() {6entry:7  call void @__builtin_ia32_pause__hipstdpar_unsupported()8  ret void9}10 11declare void @__builtin_ia32_pause__hipstdpar_unsupported()