Files
llvm/lib
Teresa Johnson fbd4142bd8 [SamplePGO] Minor efficiency improvement in samplePGO ICP
Summary:
When attaching prof metadata to promoted direct calls in SamplePGO
mode, no need to construct and use a SmallVector to pass a single count
to the ArrayRef parameter, we can simply use a brace-enclosed init list.

This made a small but consistent improvement for a ThinLTO backend
compile I was measuring.

Reviewers: wmi

Subscribers: mehdi_amini, dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D57706

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353123 91177308-0d34-0410-b5e6-96231b3b80d8
2019-02-05 00:18:38 +00:00
..
2017-10-16 20:48:19 +00:00
2019-02-04 19:13:39 +00:00
2019-02-04 19:13:39 +00:00
2019-02-04 21:02:49 +00:00