llvm-mirror/test/MC/Hexagon/relaxed_newvalue.s
Colin LeMahieu ed62b97b18 Revert r265817
lld tests need to be addressed.

llvm-svn: 265822
2016-04-08 18:15:37 +00:00

11 lines
309 B
ArmAsm

# RUN: llvm-mc -triple=hexagon -filetype=obj %s | llvm-objdump -d - | FileCheck %s
# Make sure relaxation doesn't hinder newvalue calculation
#CHECK: r18 = add(r2, #-6)
#CHECK-NEXT: immext(#0)
#CHECK-NEXT: if (!cmp.gt(r18.new, #1)) jump:t
{
r18 = add(r2, #-6)
if (!cmp.gt(r18.new, #1)) jump:t .unknown
}