summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Hexagon/PacketRules/endloop_branches.s
blob: 46d984189b5e8f45c048cafbdb478877dc42a7a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>&1 | FileCheck %s

{ jump unknown
}:endloop0
# CHECK: 4:1: error: Branches cannot be in a packet with hardware loops

{ jump unknown
}:endloop1
# CHECK: 8:1: error: Branches cannot be in a packet with hardware loops

{ call unknown
}:endloop0
# CHECK: 12:1: error: Branches cannot be in a packet with hardware loops

{ dealloc_return
}:endloop0
# CHECK: 16:1: error: Branches cannot be in a packet with hardware loops
OpenPOWER on IntegriCloud