mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
TableGen/reginfo potential bug: typo from previous checkin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154452 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
06886aaaeb
commit
4b745588c9
@ -1222,7 +1222,7 @@ void CodeGenRegBank::computeRegUnitSets() {
|
||||
assert(Idx < (2*NumRegUnitSubSets) && "runaway unit set inference");
|
||||
|
||||
// Compare new sets with all original classes.
|
||||
for (unsigned SearchIdx = (SearchIdx >= NumRegUnitSubSets) ? 0 : Idx+1;
|
||||
for (unsigned SearchIdx = (Idx >= NumRegUnitSubSets) ? 0 : Idx+1;
|
||||
SearchIdx != EndIdx; ++SearchIdx) {
|
||||
std::set<unsigned> Intersection;
|
||||
std::set_intersection(RegUnitSets[Idx].Units.begin(),
|
||||
|
Loading…
Reference in New Issue
Block a user