[llvm] [LV][EVL] Support cast instruction with EVL-vectorization (PR #108351)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 19:31:39 PST 2024


================
@@ -144,6 +144,10 @@ bool llvm::isVectorIntrinsicWithOverloadTypeAtArg(
   if (TTI && Intrinsic::isTargetIntrinsic(ID))
     return TTI->isVectorIntrinsicWithOverloadTypeAtArg(ID, OpdIdx);
 
+  if (VPCastIntrinsic::isVPCast(ID)) {
+    return OpdIdx == -1 || OpdIdx == 0;
+  }
----------------
LiqinWeng wrote:

done


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


More information about the llvm-commits mailing list