[PATCH] D57654: [llvm-exegesis] deserializeMCInst(): bump SmallVector small size up to 16

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 4 01:12:35 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL353022: [llvm-exegesis] deserializeMCInst(): bump SmallVector small size up to 16 (authored by lebedevri, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D57654?vs=184957&id=185000#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D57654

Files:
  llvm/trunk/tools/llvm-exegesis/lib/BenchmarkResult.cpp


Index: llvm/trunk/tools/llvm-exegesis/lib/BenchmarkResult.cpp
===================================================================
--- llvm/trunk/tools/llvm-exegesis/lib/BenchmarkResult.cpp
+++ llvm/trunk/tools/llvm-exegesis/lib/BenchmarkResult.cpp
@@ -40,7 +40,7 @@
   }
 
   void deserializeMCInst(llvm::StringRef String, llvm::MCInst &Value) {
-    llvm::SmallVector<llvm::StringRef, 8> Pieces;
+    llvm::SmallVector<llvm::StringRef, 16> Pieces;
     String.split(Pieces, " ", /* MaxSplit */ -1, /* KeepEmpty */ false);
     if (Pieces.empty()) {
       ErrorStream << "Unknown Instruction: '" << String << "'";


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57654.185000.patch
Type: text/x-patch
Size: 615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190204/df7ba1b5/attachment.bin>


More information about the llvm-commits mailing list