llvm-for-llvmta/test/MC/Hexagon/relaxed_newvalue.s

11 lines
307 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# 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
}