llvm.org GIT mirror llvm / a813b38 test / CodeGen / AArch64 / arm64-return-vector.ll
a813b38

Tree @a813b38 (Download .tar.gz)

arm64-return-vector.ll @a813b38

e927841
7b837d8
 
 
 
 
 
 
7c9c6ed
7b837d8
 
; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s

; 2x64 vector should be returned in Q0.

define <2 x double> @test(<2 x double>* %p) nounwind {
; CHECK: test
; CHECK: ldr q0, [x0]
; CHECK: ret
  %tmp1 = load <2 x double>, <2 x double>* %p, align 16
  ret <2 x double> %tmp1
}