repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] More MVE compare vector splat combines for ANDs
[llvm-complete.git]
/
test
/
CodeGen
/
AArch64
/
arm64-return-vector.ll
blob
2167c6664b9e64d6e220d1a8f397ff64781710d5
1
; RUN: llc < %s -mtriple=arm64-eabi | 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>, <2 x double>* %p, align 16
10
ret <2 x double> %tmp1
11
}