1 ; RUN: llc -mtriple thumbv7-windows-itanium -relocation-model pic -filetype asm -o - %s \ 2 ; RUN: | FileCheck %s 3 4 @external = external global i8 5 6 define arm_aapcs_vfpcc i8 @return_external() { 7 entry: 8 %0 = load i8* @external, align 1 9 ret i8 %0 10 } 11 12 ; CHECK-LABEL: return_external 13 ; CHECK: movw r0, :lower16:external 14 ; CHECK: movt r0, :upper16:external 15 ; CHECK: ldrb r0, [r0] 16 17