The initialization of RegisterBank needs to be done only once. The
logic of AlreadyInit has data race, use llvm::call_once instead.
This is continuing work of D73587.
Differential D73604
[AMDGPU] Fix data race on RegisterBank initialization. huihuiz on Jan 28 2020, 9:14 PM. Authored by
Details
Diff Detail
|