[PGO] Ensure vp data in indexed profile always sorted
authorXinliang David Li <davidxl@google.com>
Fri, 8 Jan 2016 05:45:21 +0000 (05:45 +0000)
committerXinliang David Li <davidxl@google.com>
Fri, 8 Jan 2016 05:45:21 +0000 (05:45 +0000)
Done in  InstrProfWriter to eliminate the need for client
code to do the sorting. The operation is done once and reused
many times so it is more efficient. Update unit test to remove
sorting. Also update expected output of affected tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257145 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found