[all-commits] [llvm/llvm-project] ae3910: Reland "[ARM] Fix data race on RegisterBank initia...

huihzhang via All-commits all-commits at lists.llvm.org
Fri Feb 7 14:03:00 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ae39105466c477c5466efe0763a0ab1a23a274cd
      https://github.com/llvm/llvm-project/commit/ae39105466c477c5466efe0763a0ab1a23a274cd
  Author: Huihui Zhang <huihuiz at quicinc.com>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMRegisterBankInfo.cpp

  Log Message:
  -----------
  Reland "[ARM] Fix data race on RegisterBank initialization."

Update lambda function
static auto InitializeRegisterBankOnce = [this](const auto &TRI) {
with
static auto InitializeRegisterBankOnce = [&]() {

Capture reference instead of passing argument, as there are buildbot
compiling errors related when passing argument.




More information about the All-commits mailing list