[PATCH] D33301: [Statistics] Add a method to atomically update a statistic that contains a maximum

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 16:51:02 PDT 2017


chandlerc accepted this revision.
chandlerc added a comment.
This revision is now accepted and ready to land.

LGTM

Ahh, "atomic" max. I remember when I first wrote this in some other project 8 years ago now and had to figure out if it really has adequate forward progress guarantees... =] (It does.)


https://reviews.llvm.org/D33301





More information about the llvm-commits mailing list