brintos

brintos / llvm-project-archived public Read only

0
0
Text · 409 B · d6e8d0a Raw
10 lines · plain
1; RUN: not llc -global-isel=1 -new-reg-bank-select -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -o - < %s 2>&1 | FileCheck -check-prefix=GISEL-ERR %s2 3; GISEL-ERR: LLVM ERROR: cannot select: %{{[0-9]+}}:vgpr_32(s32) = G_LOAD %{{[0-9]+}}:vgpr(p8) :: (load (s32) from %ir.rsrc, addrspace 8)4 5define float @load_from_rsrc(ptr addrspace(8) %rsrc) {6body:7  %res = load float, ptr addrspace(8) %rsrc8  ret float %res9}10