[PATCH] D80325: [SVE] Eliminate calls to default-false VectorType::get() from FuzzMutate
Christopher Tetreault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 9 14:22:12 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe8f815a494e2: [SVE] Eliminate calls to default-false VectorType::get() from FuzzMutate (authored by ctetreau).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80325/new/
https://reviews.llvm.org/D80325
Files:
llvm/lib/FuzzMutate/Operations.cpp
Index: llvm/lib/FuzzMutate/Operations.cpp
===================================================================
--- llvm/lib/FuzzMutate/Operations.cpp
+++ 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<Constant *>{
- UndefValue::get(VectorType::get(Int32Ty, FirstTy->getNumElements()))};
+ return std::vector<Constant *>{UndefValue::get(
+ FixedVectorType::get(Int32Ty, FirstTy->getNumElements()))};
};
return {Pred, Make};
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80325.269672.patch
Type: text/x-patch
Size: 700 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200609/41f9c288/attachment.bin>
More information about the llvm-commits
mailing list