brintos

brintos / llvm-project-archived public Read only

0
0
Text · 442 B · 19e6b28 Raw
12 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 ASM block:5; CHECK-NEXT: {{.*}}Invalid ASM block{{.*}}6define amdgpu_kernel void @foo() {7entry:8  call void @__ASM__hipstdpar_unsupported([18 x i8] c"Invalid ASM block\00")9  ret void10}11 12declare void @__ASM__hipstdpar_unsupported([18 x i8])