[PATCH] D83849: [TableGen] Change std::vector to SmallVector

Nadav Rotem via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 15 22:26:03 PDT 2020


nadav updated this revision to Diff 278372.

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83849/new/

https://reviews.llvm.org/D83849

Files:
  llvm/utils/TableGen/CodeGenDAGPatterns.h


Index: llvm/utils/TableGen/CodeGenDAGPatterns.h
===================================================================
--- llvm/utils/TableGen/CodeGenDAGPatterns.h
+++ llvm/utils/TableGen/CodeGenDAGPatterns.h
@@ -190,7 +190,7 @@
 
 struct TypeSetByHwMode : public InfoByHwMode<MachineValueTypeSet> {
   using SetType = MachineValueTypeSet;
-  std::vector<unsigned> AddrSpaces;
+  SmallVector<unsigned, 16> AddrSpaces;
 
   TypeSetByHwMode() = default;
   TypeSetByHwMode(const TypeSetByHwMode &VTS) = default;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83849.278372.patch
Type: text/x-patch
Size: 507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200716/efe7910d/attachment.bin>


More information about the llvm-commits mailing list