brintos

brintos / llvm-project-archived public Read only

0
0
Text · 778 B · 4623500 Raw
28 lines · plain
1// RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx90a < %s | FileCheck --check-prefix=ASM %s2// RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx90a -filetype=obj < %s > %t3// RUN: llvm-objdump -s -j .rodata %t | FileCheck --check-prefix=OBJDUMP %s4 5// OBJDUMP:       0000 00000000 0f000000 00000000 000000006 7.text8 9.p2align 810.type caller,@function11caller:12  s_endpgm13 14.rodata15 16.p2align 617.amdhsa_kernel caller18  .amdhsa_next_free_vgpr 019  .amdhsa_next_free_sgpr 020  .amdhsa_accum_offset 421  .amdhsa_private_segment_fixed_size max(7, callee1.private_seg_size, callee2.private_seg_size)22.end_amdhsa_kernel23 24.set callee1.private_seg_size, 425.set callee2.private_seg_size, 1526 27// ASM: .amdhsa_private_segment_fixed_size max(7, callee1.private_seg_size, callee2.private_seg_size)28