mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
f16982e6bd
Fixes issue mentioned at: https://github.com/RadeonOpenCompute/LLVM-AMDGPU-Assembler-Extra/issues/13. Lit tests added. Differential Revision: http://reviews.llvm.org/D22133 llvm-svn: 275054
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
|