You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
379 B
20 lines
379 B
4 months ago
|
# RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>&1 | FileCheck %s
|
||
|
|
||
|
# 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
|