[PATCH] D34085: [PGO] Register promote profile counter updates

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 24 17:30:54 PDT 2017


davide added a comment.

FWIW, the usage of the updater seems correct.
Please note that the updater has O(N^3) worst case performance in some cases [1].
I don't think this will show up here, but you might want to double check the impact on compile time.

[1] e.g. type
`llvm-stress -instructions=50000 | ./opt -mem2reg -lcssa -time-passes` and run inside a profiler.


https://reviews.llvm.org/D34085





More information about the llvm-commits mailing list