| 1 |
# RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>&1 | FileCheck %s |
| 2 |
|
| 3 |
{ r0=sub(#1,r0) |
| 4 |
r1=sub(#1, r0) |
| 5 |
memw(r0)=r0 |
| 6 |
if (p3) dealloc_return } |
| 7 |
|
| 8 |
|
| 9 |
# CHECK: note: Instruction can utilize slots: 0, 1, 2, 3 |
| 10 |
# CHECK: note: Instruction can utilize slots: 0, 1, 2, 3 |
| 11 |
# CHECK: note: Instruction can utilize slots: <None> |
| 12 |
# CHECK: note: Instruction can utilize slots: 0 |
| 13 |
# CHECK: note: Instruction was restricted from being in slot 1 |
| 14 |
# CHECK: note: Instruction does not allow a store in slot 1 |
| 15 |
# CHECK: error: invalid instruction packet: slot error |