commit | 1c4b8129419698a189be6119cd9d7b971432ffb1 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Tue Dec 20 03:32:17 2016 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Tue Dec 20 03:32:17 2016 +0000 |
tree | 48a84b8665a87bdc0e3967853bd7380e6150f32e | |
parent | 54cffa1811cc2883f5284c36c07e61bd3f1759ef [diff] |
[PM] Rework a loop in the CGSCC update logic to be more conservative and clear. The current RefSCC can occur in exactly one position so we should just enforce that and leverage the property rather than checking for it anywhere. This addresses review comments made on another patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290162 91177308-0d34-0410-b5e6-96231b3b80d8