projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[FastISel][AArch64] Don't fold instructions that are not in the same basic block.
[oota-llvm.git]
/
test
/
CodeGen
/
AArch64
/
arm64-return-vector.ll
1
; RUN: llc < %s -march=arm64 | FileCheck %s
2
3
; 2x64 vector should be returned in Q0.
4
5
define <2 x double> @test(<2 x double>* %p) nounwind {
6
; CHECK: test
7
; CHECK: ldr q0, [x0]
8
; CHECK: ret
9
%tmp1 = load <2 x double>* %p, align 16
10
ret <2 x double> %tmp1
11
}