[all-commits] [llvm/llvm-project] 2491fd: Reland "[AArch64] Fix data race on RegisterBank in...

huihzhang via All-commits all-commits at lists.llvm.org
Fri Feb 7 13:24:16 PST 2020


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

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp

  Log Message:
  -----------
  Reland "[AArch64] 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