llvm.org GIT mirror llvm / 2edda52 test / MC / ARM / cmp-immediate-fixup.s
2edda52

Tree @2edda52 (Download .tar.gz)

cmp-immediate-fixup.s @2edda52raw · history · blame

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: