[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / Hexagon / fixups.s
blob33913362df7bb9ae789605cc5da5c4fa702d5210
1 # RUN: llvm-mc -arch=hexagon -filetype=obj %s | llvm-objdump -d - | FileCheck %s
3 .text
4 # CHECK-LABEL: 0:
5 # CHECK: 2442e106
6 # CHECK: if (!cmp.eq(r1.new,#1)) jump:t 0xc
8 r1 = zxth(r2)
9 if (!cmp.eq(r1.new, #1)) jump:t .L1
11 nop
12 .L1:
13 .org 0x10
14 # CHECK-LABEL: 10:
15 # CHECK: 00004020
16 # CHECK: immext(#2048)
17 # CHECK: 2442e118
18 # CHECK: if (!cmp.eq(r1.new,#1)) jump:t 0x81c
20 r1 = zxth(r2)
21 if (!cmp.eq(r1.new, #1)) jump:t .L2
23 .org .+2048
24 .L2: