llvm/test/MC/AMDGPU/max-branch-distance.s
Matt Arsenault d97fe48fe0 AMDGPU: Improve error reporting for maximum branch distance
Unfortunately this seems to only help the assembler diagnostic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279895 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-27 00:21:22 +00:00

8 lines
248 B
ArmAsm

// RUN: not llvm-mc -arch=amdgcn -filetype=obj -o /dev/null %s 2>&1 | FileCheck -check-prefix=ERROR %s
// ERROR: max-branch-distance.s:7:3: error: branch size exceeds simm16
// fill v_nop
LBB0_0:
.fill 32768, 4, 0x0000007e
s_branch LBB0_0