1; RUN: not llc -mtriple=aarch64-linux-gnu -mattr=+sve < %s 2>%t 2; RUN: FileCheck --check-prefix=CHECK-ERROR %s <%t 3 4declare <4 x float> @llvm.arm.neon.vcvthf2fp(<vscale x 4 x i16>) 5declare <vscale x 4 x i16> @llvm.arm.neon.vcvtfp2hf(<vscale x 4 x float>) 6 7; CHECK-ERROR: Intrinsic has incorrect return type! 8define <vscale x 4 x i16> @bad1() { 9 %r = call <vscale x 4 x i16> @llvm.arm.neon.vcvtfp2hf(<vscale x 4 x float> zeroinitializer) 10 ret <vscale x 4 x i16> %r 11} 12 13; CHECK-ERROR: Intrinsic has incorrect argument type! 14define <4 x float> @bad2() { 15 %r = call <4 x float> @llvm.arm.neon.vcvthf2fp(<vscale x 4 x i16> zeroinitializer) 16 ret <4 x float> %r 17} 18