1; RUN: llc < %s -march=ppc64 -mattr=+altivec | FileCheck %s 2 3target datalayout = "E-m:e-i64:64-n32:64" 4target triple = "powerpc64-unknown-linux-gnu" 5 6; Verify that in the 64-bit Linux ABI, vector arguments take up space 7; in the parameter save area. 8 9define i64 @callee(i64 %a, <4 x i32> %b, i64 %c, <4 x i32> %d, i64 %e) { 10entry: 11 ret i64 %e 12} 13; CHECK-LABEL: callee: 14; CHECK: ld 3, 112(1) 15 16define void @caller(i64 %x, <4 x i32> %y) { 17entry: 18 tail call void @test(i64 %x, <4 x i32> %y, i64 %x, <4 x i32> %y, i64 %x) 19 ret void 20} 21; CHECK-LABEL: caller: 22; CHECK: std 3, 112(1) 23 24declare void @test(i64, <4 x i32>, i64, <4 x i32>, i64) 25 26