[PATCH] D73587: [AArch64] Fix data race on RegisterBank initialization.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 15:21:16 PST 2020


efriedma added a comment.

Using std::call_once, instead of a separate flag+mutex, would be a little more readable and efficient.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73587





More information about the llvm-commits mailing list