2017-05-03 01:56:11 +08:00
|
|
|
# RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>&1 | FileCheck %s
|
|
|
|
|
|
|
|
{ jump unknown
|
|
|
|
}:endloop0
|
2017-12-12 02:57:54 +08:00
|
|
|
# CHECK: 4:1: error: Branches cannot be in a packet with hardware loops
|
2017-05-03 01:56:11 +08:00
|
|
|
|
|
|
|
{ jump unknown
|
|
|
|
}:endloop1
|
2017-12-12 02:57:54 +08:00
|
|
|
# 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
|
2017-05-03 01:56:11 +08:00
|
|
|
|
2017-12-12 02:57:54 +08:00
|
|
|
{ dealloc_return
|
|
|
|
}:endloop0
|
|
|
|
# CHECK: 16:1: error: Branches cannot be in a packet with hardware loops
|