mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
ARM: Implement CanLowerReturn so large vectors get expanded into sret.
Fixes 14337. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
12
test/CodeGen/ARM/ret_sret_vector.ll
Normal file
12
test/CodeGen/ARM/ret_sret_vector.ll
Normal file
@@ -0,0 +1,12 @@
|
||||
; RUN: llc < %s | FileCheck %s
|
||||
|
||||
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32-S32"
|
||||
target triple = "thumbv7-apple-ios3.0.0"
|
||||
|
||||
define <4 x double> @PR14337(<4 x double> %a, <4 x double> %b) {
|
||||
%foo = fadd <4 x double> %a, %b
|
||||
ret <4 x double> %foo
|
||||
; CHECK: PR14337:
|
||||
; CHECK: vst1.64
|
||||
; CHECK: vst1.64
|
||||
}
|
||||
Reference in New Issue
Block a user