brintos

brintos / llvm-project-archived public Read only

0
0
Text · 468 B · c7a12a7 Raw
16 lines · plain
1; RUN: llc -mtriple=amdgcn < %s | FileCheck -check-prefix=GCN %s2 3declare i64 @llvm.amdgcn.s.getpc() #04 5; GCN-LABEL: {{^}}test_s_getpc:6; GCN: s_load_dwordx27; GCN-DAG: s_getpc_b64 s{{\[[0-9]+:[0-9]+\]}}8; GCN: buffer_store_dwordx29define amdgpu_kernel void @test_s_getpc(ptr addrspace(1) %out) #0 {10  %tmp = call i64 @llvm.amdgcn.s.getpc() #111  store volatile i64 %tmp, ptr addrspace(1) %out, align 812  ret void13}14 15attributes #0 = { nounwind readnone speculatable }16