blob: 3262c91c04df8d2d6425876deef2e9a650101745 [file] [log] [blame]
; RUN: llc < %s -march=arm64 | 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
}