xref: /llvm-project/llvm/test/MC/Hexagon/PacketRules/cof_max1.s (revision 5001c7cc9dad748f9859f59881cc1956be78ebf3)
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
11