| 1 |
# RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>&1 | FileCheck %s |
| 2 |
|
| 3 |
{ jumpr r0 |
| 4 |
jumpr r0 } |
| 5 |
# CHECK: 3:3: error: Instruction may not be in a packet with other branches |
| 6 |
|
| 7 |
{ jump unknown |
| 8 |
if (p0) jump unknown } |
| 9 |
# CHECK: 7:3: error: Instruction may not be the first branch in packet |
| 10 |
|