[PATCH] D80259: [SVE] Remove default false from VectorType::get(Type *, unsigned, bool)

Christopher Tetreault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 19 17:39:05 PDT 2020


ctetreau created this revision.
Herald added subscribers: llvm-commits, psnobl, rkruppe, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: LLVM.
ctetreau edited the summary of this revision.
ctetreau abandoned this revision.

Calls that used to use this default false should instead call FixedVectorType::get()


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80259

Files:
  llvm/include/llvm/IR/DerivedTypes.h


Index: llvm/include/llvm/IR/DerivedTypes.h
===================================================================
--- llvm/include/llvm/IR/DerivedTypes.h
+++ llvm/include/llvm/IR/DerivedTypes.h
@@ -434,7 +434,7 @@
   /// This static method is the primary way to construct an VectorType.
   static VectorType *get(Type *ElementType, ElementCount EC);
   static VectorType *get(Type *ElementType, unsigned NumElements,
-                         bool Scalable = false) {
+                         bool Scalable) {
     return VectorType::get(ElementType, {NumElements, Scalable});
   }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80259.265092.patch
Type: text/x-patch
Size: 582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200520/4f27893b/attachment.bin>


More information about the llvm-commits mailing list