blob: 3986a5a79d57daf308f2d821e2d3b8eea5ba7e1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve < %s | FileCheck %s
; This test should belong in sve-intrinsics-reinterpret.ll, but uses types
; that are invalid with sve-streaming
define <vscale x 16 x i1> @reinterpret_bool_from_splat() {
; CHECK-LABEL: reinterpret_bool_from_splat:
; CHECK: // %bb.0:
; CHECK-NEXT: ptrue p0.d
; CHECK-NEXT: ret
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.convert.to.svbool.nxv2i1(<vscale x 2 x i1> splat(i1 true))
ret <vscale x 16 x i1> %out
}
declare <vscale x 16 x i1> @llvm.aarch64.sve.convert.to.svbool.nxv2i1(<vscale x 2 x i1>)
|