Reland "[AArch64] Fix data race on RegisterBank initialization."
authorHuihui Zhang <huihuiz@quicinc.com>
Mon, 3 Feb 2020 23:28:08 +0000 (15:28 -0800)
committerHuihui Zhang <huihuiz@quicinc.com>
Tue, 4 Feb 2020 00:48:18 +0000 (16:48 -0800)
commit9c726e9d90583a4bf2934ada9c9d8030c44a868d
treeb261e0796a513245e914b3775ac29a2840c74bc8
parent246097a091bfddca081f4d0f7d84530579e3bb33
Reland "[AArch64] Fix data race on RegisterBank initialization."

Minor fix, lambda function should capture all automatic variables
by reference.
Harbormaster pass with: https://reviews.llvm.org/B45640
llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp