1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/MC/Hexagon/multiple_errs.s
Krzysztof Parzyszek 5213039bde [Hexagon] Give better error messages for solo instruction errors
Patch by Colin LeMahieu.

llvm-svn: 301827
2017-05-01 20:06:01 +00:00

11 lines
287 B
ArmAsm

# RUN: not llvm-mc -arch=hexagon -filetype=asm %s 2> %t; FileCheck %s < %t
#
{
if (!p0) r0=r1;
if (!p0) r0=r2;
trap0(#15);
}
# CHECK: error: register `R0' modified more than once
# CHECK: error: Instruction is marked `isSolo' and cannot have other instructions in the same packet