1 ; RUN: llc < %s -mtriple=armv6-apple-darwin -regalloc=linearscan | FileCheck %s -check-prefix=V6
2 ; RUN: llc < %s -mtriple=armv5-apple-darwin | FileCheck %s -check-prefix=V5
3 ; RUN: llc < %s -mtriple=armv6-eabi | FileCheck %s -check-prefix=EABI
6 ; Magic ARM pair hints works best with linearscan.
8 @b = external global i64*
10 define i64 @t(i64 %a) nounwind readonly {
12 ;V6: ldrd r2, r3, [r2]
14 ;V5: ldr r{{[0-9]+}}, [r2]
15 ;V5: ldr r{{[0-9]+}}, [r2, #4]
17 ;EABI: ldr r{{[0-9]+}}, [r2]
18 ;EABI: ldr r{{[0-9]+}}, [r2, #4]
20 %0 = load i64** @b, align 4
21 %1 = load i64* %0, align 4