1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/MC/Hexagon/relaxed_newvalue.s
2017-02-10 15:33:13 +00:00

11 lines
307 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
}