[llvm] [LV] Fix crash when vectorizing function calls with linear args. (PR #76274)
Alexandros Lamprineas via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 28 02:29:58 PST 2023
================
@@ -504,7 +504,8 @@ void VPWidenCallRecipe::execute(VPTransformState &State) {
for (unsigned Part = 0; Part < State.UF; ++Part) {
SmallVector<Type *, 2> TysForDecl;
// Add return type if intrinsic is overloaded on it.
- if (isVectorIntrinsicWithOverloadTypeAtArg(VectorIntrinsicID, -1)) {
+ if (isVectorIntrinsicWithOverloadTypeAtArg(VectorIntrinsicID, -1) &&
----------------
labrinea wrote:
Done
https://github.com/llvm/llvm-project/pull/76274
More information about the llvm-commits
mailing list