llvm-for-llvmta/test/MC/Hexagon/multiple_errs.s

11 lines
287 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
# 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