diff options
Diffstat (limited to 'test/MC/Hexagon/PacketRules/restrict_ax.s')
| -rw-r--r-- | test/MC/Hexagon/PacketRules/restrict_ax.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/Hexagon/PacketRules/restrict_ax.s b/test/MC/Hexagon/PacketRules/restrict_ax.s new file mode 100644 index 000000000000..b8f7a1f782c3 --- /dev/null +++ b/test/MC/Hexagon/PacketRules/restrict_ax.s @@ -0,0 +1,4 @@ +{ r0=memw_locked(r0) + r1=-mpyi(r0,#0) } +# RUN: not llvm-mc -arch=hexagon -filetype=asm %s 2>%t; FileCheck %s --check-prefix=CHECK00 <%t +# CHECK00: 1:3: error: Instruction can only be in a packet with ALU or non-FPU XTYPE instructions |
