mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-05 17:18:55 +00:00

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253000 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
378 B
ArmAsm
20 lines
378 B
ArmAsm
# RUN: llvm-mc -triple=hexagon -filetype=asm %s 2>%t; FileCheck %s <%t
|
|
|
|
# Check that a branch in an end-loop packet is caught.
|
|
|
|
1:
|
|
{
|
|
r0 = #1
|
|
p0 = cmp.eq (r1, r2)
|
|
if (p0) jump 1b
|
|
}:endloop0
|
|
|
|
2:
|
|
{
|
|
r0 = #1
|
|
p0 = cmp.eq (r1, r2)
|
|
if (p0) jump 2b
|
|
}:endloop1
|
|
|
|
# CHECK: rror: packet marked with `:endloop{{.}}' cannot contain instructions that modify register
|