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

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 12:52:14 PDT 2017


vsk added a comment.

For due diligence I tested out this patch on a simple multi-threaded program which runs 10^7 dot-products in 8 different threads. Post-patch, I noticed that the profile counts are much more consistent. Register-promotion kicked in and the optimizer was able to hoist some counter increments out of the loop.

Review has stalled, so I'll try looking into the SSAUpdater bits.


https://reviews.llvm.org/D34085





More information about the llvm-commits mailing list