[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)
commitf2ab05c43259f59ff5a2ed1704748747d53c5f05
tree49ee5eac76f0e7010b5afbde34a0f1574fb941a2
parent9fbbe5d9caa7d83fe4f3be451034a45ad18979e6
[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.

llvm-svn: 328139
llvm/utils/TableGen/CodeGenSchedule.cpp