source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/2014-02-05-vfp-regs-after-stack.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 783 bytes
Line 
1; RUN: llc < %s -o - -filetype=asm | FileCheck %s
2
3target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-n32-S64"
4target triple = "armv8-none--eabi"
5
6; CHECK-LABEL: fn1:
7define arm_aapcs_vfpcc float @fn1(double %a, double %b, double %c, double %d, double %e, double %f, double %g, float %h, double %i, float %j) {
8  ret float %j
9; CHECK: vldr    s0, [sp, #8]
10}
11
12; CHECK-LABEL: fn2:
13define arm_aapcs_vfpcc float @fn2(double %a, double %b, double %c, double %d, double %e, double %f, float %h, <4 x float> %i, float %j) {
14  ret float %j
15; CHECK: vldr    s0, [sp, #16]
16}
17
18; CHECK-LABEL: fn3:
19define arm_aapcs_vfpcc float @fn3(float %a, double %b, double %c, double %d, double %e, double %f, double %g, double %h, double %i, float %j) #0 {
20  ret float %j
21; CHECK: vldr    s0, [sp, #8]
22}
Note: See TracBrowser for help on using the repository browser.