brintos

brintos / llvm-project-archived public Read only

0
0
Text · 673 B · 3986a5a Raw
18 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve < %s | FileCheck %s3 4; This test should belong in sve-intrinsics-reinterpret.ll, but uses types5; that are invalid with sve-streaming6 7define <vscale x 16 x i1> @reinterpret_bool_from_splat() {8; CHECK-LABEL: reinterpret_bool_from_splat:9; CHECK:       // %bb.0:10; CHECK-NEXT:    ptrue p0.d11; CHECK-NEXT:    ret12  %out = call <vscale x 16 x i1> @llvm.aarch64.sve.convert.to.svbool.nxv2i1(<vscale x 2 x i1> splat(i1 true))13  ret <vscale x 16 x i1> %out14}15 16declare <vscale x 16 x i1> @llvm.aarch64.sve.convert.to.svbool.nxv2i1(<vscale x 2 x i1>)17 18