1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/MC/Hexagon/tied-ops.s
Sid Manning e99035ac98 Check for tied operands
Differential Revision: https://reviews.llvm.org/D50592

llvm-svn: 339567
2018-08-13 14:01:25 +00:00

7 lines
196 B
ArmAsm

# 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