llvm.org GIT mirror llvm / 2edda52 test / MC / ARM / ltorg-range.s
2edda52

Tree @2edda52 (Download .tar.gz)

ltorg-range.s @2edda52raw · history · blame

@ RUN: llvm-mc -triple armv7-unknown-linux-gnueabi -filetype obj -o - %s \
@ RUN:   | llvm-objdump -d - | FileCheck %s

        ldr r0, =0x01020304
@ CHECK: ldr
        .ltorg
@ CHECK: 0x01020304
        ldr r0, =0x01020304
        ldr r0, =0x01020304
        ldr r0, =0x01020304
@ CHECK: ldr
@ CHECK: ldr
@ CHECK: ldr
        .ltorg
@ CHECK: 0x01020304
    .rep 1028
        .word 0
    .endr
@ CHECK: 0x00000000

        ldr r0, =0x01020304
@ CHECK: ldr
        .ltorg
@ CHECK: 0x01020304
    .rep 1028
        .word 0
    .endr