diff --git a/llvm/lib/FuzzMutate/Operations.cpp b/llvm/lib/FuzzMutate/Operations.cpp --- a/llvm/lib/FuzzMutate/Operations.cpp +++ b/llvm/lib/FuzzMutate/Operations.cpp @@ -306,8 +306,8 @@ auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext()); // TODO: It's straighforward to make up reasonable values, but listing them // exhaustively would be insane. Come up with a couple of sensible ones. - return std::vector{ - UndefValue::get(VectorType::get(Int32Ty, FirstTy->getNumElements()))}; + return std::vector{UndefValue::get( + FixedVectorType::get(Int32Ty, FirstTy->getNumElements()))}; }; return {Pred, Make}; }