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

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 01:32:17 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;
----------------
Mel-Chen wrote:

IIUC, -1 means the return type. The change in this patch is correct, I think.

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


More information about the llvm-commits mailing list