llvm/test/CodeGen/ARM/big-endian-ret-f64.ll
Christian Pirker 27e80698ef ARMEB: Fix function return type f64
Reviewed at http://reviews.llvm.org/D3968



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209990 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-01 09:30:52 +00:00

13 lines
292 B
LLVM

; 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
}