Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +00:00

14 lines
372 B
LLVM

; Test vector builds using VLVGP.
;
; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s
; Test the basic v2i64 usage.
define <2 x i64> @f1(i64 %a, i64 %b) {
; CHECK-LABEL: f1:
; CHECK: vlvgp %v24, %r2, %r3
; CHECK: br %r14
%veca = insertelement <2 x i64> undef, i64 %a, i32 0
%vecb = insertelement <2 x i64> %veca, i64 %b, i32 1
ret <2 x i64> %vecb
}