[llvm] [LV][EVL] Support call instruction with EVL-vectorization (PR #110412)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 19:31:13 PST 2024
================
@@ -117,9 +117,13 @@ bool llvm::isVectorIntrinsicWithScalarOpAtArg(Intrinsic::ID ID,
unsigned ScalarOpdIdx) {
switch (ID) {
case Intrinsic::abs:
+ case Intrinsic::vp_abs:
case Intrinsic::ctlz:
+ case Intrinsic::vp_ctlz:
case Intrinsic::cttz:
+ case Intrinsic::vp_cttz:
case Intrinsic::is_fpclass:
+ case Intrinsic::vp_is_fpclass:
----------------
LiqinWeng wrote:
The second parameter of this intrinsic is a scalar, which should remain in scalar form after vectorization.
`llvm.vp.abs.nxv1i8(<vscale x 1 x i8> %va, i1 false, <vscale x 1 x i1> splat (i1 true), i32 %evl)`
https://github.com/llvm/llvm-project/pull/110412
More information about the llvm-commits
mailing list