aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/big-endian-ret-f64.ll
blob: 614bfc0a5b3a23f0735d515868fc5da1689b2ac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc -mtriple=armebv7a-eabi %s -O0 -o - | FileCheck %s
; RUN: llc -mtriple=armebv8a-eabi %s -O0 -o - | FileCheck %s

define double @fn() {
; CHECK-LABEL: fn
; CHECK: ldr r0, [sp]
; CHECK: ldr r1, [sp, #4]
  %r = alloca double, align 8
  %1 = load double* %r, align 8
  ret double %1
}