target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "aarch64-unknown-linux-gnu"
define <vscale x 4 x float> @test(<vscale x 4 x float> %0) #0 {
iter.check122:
%1 = frem <vscale x 4 x float> %0, zeroinitializer
ret <vscale x 4 x float> %1
}
attributes #0 = { "target-cpu"="neoverse-v2" "target-features"="+sve" }
llc -disable-symbolication < reduced.ll
LLVM ERROR: Possible incorrect use of EVT::getVectorNumElements() for scalable vector. Scalable flag may be dropped, use EVT::getVectorElementCount() instead