mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-21 18:22:53 +01:00
[SVE] Remove calls to VectorType::getNumElements from FuzzMutate
Reviewers: efriedma, bkramer, kmclaughlin, sdesmalen Reviewed By: sdesmalen Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82212
This commit is contained in:
parent
1b7526b7e8
commit
34144cdb66
@ -302,7 +302,7 @@ static SourcePred validShuffleVectorIndex() {
|
||||
return ShuffleVectorInst::isValidOperands(Cur[0], Cur[1], V);
|
||||
};
|
||||
auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *> Ts) {
|
||||
auto *FirstTy = cast<VectorType>(Cur[0]->getType());
|
||||
auto *FirstTy = cast<FixedVectorType>(Cur[0]->getType());
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user