OSDN Git Service

[TableGen] Remove unnecessary map lookup and shadowing of a variable. NFCI
authorCraig Topper <craig.topper@intel.com>
Wed, 21 Mar 2018 19:30:33 +0000 (19:30 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 21 Mar 2018 19:30:33 +0000 (19:30 +0000)
commitcbb421beaa90d4eee9e98ce4db0e16996fb78082
tree45a9676f4e88ae18a148f27e46cc44eeb115499a
parente2cd723d4e995953d2b75cfe303108312695c9f5
[TableGen] Remove unnecessary map lookup and shadowing of a variable. NFCI

We already have an OldSCIdx variable in the outer loop here. And we already did the map lookup in the loop that populated ClassInstrs. And the outer OldSCIdx got it from ClassInstrs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328139 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CodeGenSchedule.cpp