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 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 void 10} 11 12declare void @__ASM__hipstdpar_unsupported([18 x i8])