llvm/test/MC/Hexagon/relaxed_newvalue.s
2015-11-13 01:46:06 +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
}