mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 19:20:28 +00:00
TableGen/reginfo potential bug: typo from previous checkin.
llvm-svn: 154452
This commit is contained in:
parent
a8319713a4
commit
0c60300f39
@ -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