[ThinLTO] Add code comment. NFC
[llvm-complete.git] / test / MC / Hexagon / PacketRules / endloop_branches.s
blob46d984189b5e8f45c048cafbdb478877dc42a7a8
1 # RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>&1 | FileCheck %s
3 { jump unknown
4 }:endloop0
5 # CHECK: 4:1: error: Branches cannot be in a packet with hardware loops
7 { jump unknown
8 }:endloop1
9 # CHECK: 8:1: error: Branches cannot be in a packet with hardware loops
11 { call unknown
12 }:endloop0
13 # CHECK: 12:1: error: Branches cannot be in a packet with hardware loops
15 { dealloc_return
16 }:endloop0
17 # CHECK: 16:1: error: Branches cannot be in a packet with hardware loops