| commit | d9d02d8259e47dbd6b73385afa882ef9fa7b042c | [log] [tgz] |
|---|---|---|
| author | David Majnemer <david.majnemer@gmail.com> | Fri Jul 08 16:39:00 2016 +0000 |
| committer | David Majnemer <david.majnemer@gmail.com> | Fri Jul 08 16:39:00 2016 +0000 |
| tree | fd81d8becef9fbda0964a64adb4c59687948bf3e | |
| parent | 44540a3db2575258cc28390f70cddc2f6b145938 [diff] |
[CodeGen, TargetPassConfig] Remove a race from createRegAllocPass The createRegAllocPass reads and writes to a global variable 'Registry' via calls to getDefault and setDefault. Run this under a call_once to avoid races. llvm-svn: 274875