forked from OSchip/llvm-project
parent
bbe9e2a13c
commit
f9d26af4ea
|
@ -5415,8 +5415,7 @@ static bool SwitchToLookupTable(SwitchInst *SI, IRBuilder<> &Builder,
|
|||
}
|
||||
|
||||
bool ReturnedEarly = false;
|
||||
for (size_t I = 0, E = PHIs.size(); I != E; ++I) {
|
||||
PHINode *PHI = PHIs[I];
|
||||
for (PHINode *PHI : PHIs) {
|
||||
const ResultListTy &ResultList = ResultLists[PHI];
|
||||
|
||||
// If using a bitmask, use any value to fill the lookup table holes.
|
||||
|
|
Loading…
Reference in New Issue