commit | 35072eb786d5f1188973fd3180559b50fde9f274 | [log] [tgz] |
---|---|---|
author | Sanjoy Das <sanjoy@playingwithpointers.com> | Tue Oct 20 01:06:31 2015 +0000 |
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | Tue Oct 20 01:06:31 2015 +0000 |
tree | 28ae0f15cf179a83d7497cc1699aef6b195a2afa | |
parent | 3d31aca99923e138766dad27469fd6d3a6ebf92a [diff] |
[RS4GC] Remove a redundant linear search, NFCI Since LiveVariables is uniqued (we just created it from a `DenseSet`), `FindIndex(LiveVariables, LiveVariables[i])` is always `i`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250786 91177308-0d34-0410-b5e6-96231b3b80d8