forked from OSchip/llvm-project
18 lines
566 B
ArmAsm
18 lines
566 B
ArmAsm
// RUN: llvm-mc -arch=amdgcn -mcpu=fiji -show-encoding %s | FileCheck %s --check-prefix=VI
|
|
|
|
loop_start:
|
|
s_branch loop_start
|
|
// VI: s_branch loop_start ; encoding: [A,A,0x82,0xbf]
|
|
// VI-NEXT: ; fixup A - offset: 0, value: loop_start, kind: fixup_si_sopp_br
|
|
|
|
s_branch loop_end
|
|
// VI: s_branch loop_end ; encoding: [A,A,0x82,0xbf]
|
|
// VI-NEXT: ; fixup A - offset: 0, value: loop_end, kind: fixup_si_sopp_br
|
|
loop_end:
|
|
|
|
s_branch gds
|
|
// VI: s_branch gds ; encoding: [A,A,0x82,0xbf]
|
|
// VI-NEXT: ; fixup A - offset: 0, value: gds, kind: fixup_si_sopp_br
|
|
gds:
|
|
s_nop 0
|