[PATCH] D21520: [SelectionDAG] use <mutex> instead of LLVM home-grown primitive

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 08:22:28 PDT 2016


rnk added a comment.

It's actually important for performance to compile out this mutex when threading is disabled. We do this in Chromium and apparently it matters.

If you implement Rafael's suggestion you can avoid the lock entirely.


http://reviews.llvm.org/D21520





More information about the llvm-commits mailing list