mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-23 13:02:52 +02:00
15e1419679
Change location number to point to conflicting branch instruction. Patch by Colin LeMahieu. llvm-svn: 301946
13 lines
385 B
ArmAsm
13 lines
385 B
ArmAsm
# RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>&1 | FileCheck %s
|
|
|
|
# Check that a branch in an end-loop packet is caught.
|
|
|
|
{ jump unknown
|
|
}:endloop0
|
|
# CHECK: 5:3: error: packet marked with `:endloop0' cannot contain instructions that modify register
|
|
|
|
{ jump unknown
|
|
}:endloop1
|
|
|
|
# CHECK: 9:3: error: packet marked with `:endloop1' cannot contain instructions that modify register
|