[llvm] [LV][EVL] Support call instruction with EVL-vectorization (PR #110412)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 12 18:43:52 PST 2024


================
@@ -141,10 +145,13 @@ bool llvm::isVectorIntrinsicWithOverloadTypeAtArg(Intrinsic::ID ID,
   case Intrinsic::fptoui_sat:
   case Intrinsic::lrint:
   case Intrinsic::llrint:
+  case Intrinsic::vp_lrint:
+  case Intrinsic::vp_llrint:
   case Intrinsic::ucmp:
   case Intrinsic::scmp:
     return OpdIdx == -1 || OpdIdx == 0;
----------------
lukel97 wrote:

I don't think the EVL operand can be overloaded, should this just be `OpIdx == 0` for vp_lrint/vp_llrint?

https://github.com/llvm/llvm-project/pull/110412


More information about the llvm-commits mailing list