summaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/cmp-immediate-fixup.s
blob: e21d5c20ccda49ae7f0119519e82766c1ee94dea (plain)
1
2
3
4
5
6
7
8
9
@ PR18931
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj -o - \
@ RUN: | llvm-objdump --disassemble -arch=arm - | FileCheck %s

    .text
@ CHECK: cmp r2, #1
    cmp r2, #(l2 - l1 + 4) >> 2
l1:
l2: