Using ArrayRef in annotateValueSite's parameter instead of using an array and it's size. This is one of cleanups suggested by Sean Silva in http://reviews.llvm.org/D17864.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D18568
[PGO] Use ArrayRef in annotateValueSite() ClosedPublic Authored by xur on Mar 29 2016, 12:49 PM.
Details Summary Using ArrayRef in annotateValueSite's parameter instead of using an array and it's size. This is one of cleanups suggested by Sean Silva in http://reviews.llvm.org/D17864.
Diff Detail Event Timelinexur updated this object. xur edited edge metadata. Comment ActionsSean, thanks for the quick review. Here is the updated patch. Regards, -Rong This revision is now accepted and ready to land.Mar 29 2016, 5:48 PM Closed by commit rL264879: [PGO] Use ArrayRef in annotateValueSite() (authored by xur). · Explain WhyMar 30 2016, 10:01 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 51971 include/llvm/ProfileData/InstrProf.h
lib/ProfileData/InstrProf.cpp
unittests/ProfileData/InstrProfTest.cpp
|
Would VD be a better name instead of I?