brintos

brintos / llvm-project-archived public Read only

0
0
Text · 588 B · cf0efa0 Raw
15 lines · plain
1; REQUIRES: amdgpu-registered-target2; RUN: not opt -S -mtriple=amdgcn-amd-amdhsa -passes=hipstdpar-select-accelerator-code \3; RUN: %s 2>&1 | FileCheck %s4 5; CHECK: error: The Indirection Table must have 3 elements; 2 is incorrect.6%class.anon = type { i64, ptr }7@a = external hidden local_unnamed_addr addrspace(1) global ptr, align 88@__hipstdpar_symbol_indirection_table = weak_odr protected addrspace(4) externally_initialized constant %class.anon zeroinitializer, align 89 10define amdgpu_kernel void @store(ptr %p) {11entry:12  store ptr %p, ptr addrspace(1) @a, align 813  ret void14}15