1 ; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve < %s | FileCheck %s
3 target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
4 target triple = "aarch64-none-linux-gnu"
6 define <vscale x 2 x i64> @test_zeroinit_2xi64() {
7 ; CHECK-LABEL: test_zeroinit_2xi64
10 ret <vscale x 2 x i64> zeroinitializer
13 define <vscale x 4 x i32> @test_zeroinit_4xi32() {
14 ; CHECK-LABEL: test_zeroinit_4xi32
17 ret <vscale x 4 x i32> zeroinitializer
20 define <vscale x 8 x i16> @test_zeroinit_8xi16() {
21 ; CHECK-LABEL: test_zeroinit_8xi16
24 ret <vscale x 8 x i16> zeroinitializer
27 define <vscale x 16 x i8> @test_zeroinit_16xi8() {
28 ; CHECK-LABEL: test_zeroinit_16xi8
31 ret <vscale x 16 x i8> zeroinitializer
34 define <vscale x 2 x double> @test_zeroinit_2xf64() {
35 ; CHECK-LABEL: test_zeroinit_2xf64
38 ret <vscale x 2 x double> zeroinitializer
41 define <vscale x 4 x float> @test_zeroinit_4xf32() {
42 ; CHECK-LABEL: test_zeroinit_4xf32
45 ret <vscale x 4 x float> zeroinitializer
48 define <vscale x 8 x half> @test_zeroinit_8xf16() {
49 ; CHECK-LABEL: test_zeroinit_8xf16
52 ret <vscale x 8 x half> zeroinitializer
55 define <vscale x 1 x i1> @test_zeroinit_1xi1() {
56 ; CHECK-LABEL: test_zeroinit_1xi1
59 ret <vscale x 1 x i1> zeroinitializer
62 define <vscale x 2 x i1> @test_zeroinit_2xi1() {
63 ; CHECK-LABEL: test_zeroinit_2xi1
66 ret <vscale x 2 x i1> zeroinitializer
69 define <vscale x 4 x i1> @test_zeroinit_4xi1() {
70 ; CHECK-LABEL: test_zeroinit_4xi1
73 ret <vscale x 4 x i1> zeroinitializer
76 define <vscale x 8 x i1> @test_zeroinit_8xi1() {
77 ; CHECK-LABEL: test_zeroinit_8xi1
80 ret <vscale x 8 x i1> zeroinitializer
83 define <vscale x 16 x i1> @test_zeroinit_16xi1() {
84 ; CHECK-LABEL: test_zeroinit_16xi1
87 ret <vscale x 16 x i1> zeroinitializer