2016-04-09 02:15:37 +08:00
|
|
|
# RUN: llvm-mc -triple=hexagon -filetype=obj %s | llvm-objdump -d - | FileCheck %s
|
2015-11-13 09:46:06 +08:00
|
|
|
# Make sure relaxation doesn't hinder newvalue calculation
|
|
|
|
|
2017-02-10 23:33:13 +08:00
|
|
|
#CHECK: r18 = add(r2,#-6)
|
2015-11-13 09:46:06 +08:00
|
|
|
#CHECK-NEXT: immext(#0)
|
2017-02-10 23:33:13 +08:00
|
|
|
#CHECK-NEXT: if (!cmp.gt(r18.new,#1)) jump:t
|
2015-11-13 09:46:06 +08:00
|
|
|
{
|
|
|
|
r18 = add(r2, #-6)
|
|
|
|
if (!cmp.gt(r18.new, #1)) jump:t .unknown
|
|
|
|
}
|