[PATCH] D152328: InstrProf - don't emit 64 bit atomic operations on 32 bit platforms

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 13:17:00 PDT 2023


davidxl added a comment.

Regarding improving performance, it is more about improving the optimized build (profile-use) performance instead of the performance of the instrumented build. This is because the atomic update allows more precise counter update in multi-threaded programs.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152328/new/

https://reviews.llvm.org/D152328



More information about the llvm-commits mailing list