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