aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/cmp-immediate-fixup2.s
blob: c091145523c03058b4dc6ce6bfa0c5eb7a5bdd2a (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, #0
    cmp r2, #(l2 - l1)
l1:
l2: