[PATCH] D118203: [CSSPGO] Adjust SampleContextFrameVector to be a shorter SmallVector

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 25 21:37:05 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGcc4beda039ba: [CSSPGO] Adjust SampleContextFrameVector to be a shorter SmallVector (authored by hoy).

Changed prior to commit:
  https://reviews.llvm.org/D118203?vs=403067&id=403132#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118203

Files:
  llvm/include/llvm/ProfileData/SampleProf.h


Index: llvm/include/llvm/ProfileData/SampleProf.h
===================================================================
--- llvm/include/llvm/ProfileData/SampleProf.h
+++ llvm/include/llvm/ProfileData/SampleProf.h
@@ -450,7 +450,7 @@
                       arg.Location.Discriminator);
 }
 
-using SampleContextFrameVector = SmallVector<SampleContextFrame, 10>;
+using SampleContextFrameVector = SmallVector<SampleContextFrame, 1>;
 using SampleContextFrames = ArrayRef<SampleContextFrame>;
 
 struct SampleContextFrameHash {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118203.403132.patch
Type: text/x-patch
Size: 524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220126/8238fc8c/attachment.bin>


More information about the llvm-commits mailing list