llvm-for-llvmta/test/MC/Hexagon/tied-ops.s

7 lines
196 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: llvm-mc -arch=hexagon -filetype=asm %s 2> %t; FileCheck %s < %t
# Check that tied operands are caught
{ r0 = sub(##_start, asl(r1, #1)) }
# CHECK: error: invalid operand for instruction