mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
Missed parens.
llvm-svn: 157527
This commit is contained in:
parent
204b63bf81
commit
c04cf943e2
@ -1991,7 +1991,7 @@ bool SelectionDAGBuilder::handleSmallSwitchRange(CaseRec& CR,
|
||||
// The last case block won't fall through into 'NextBlock' if we emit the
|
||||
// branches in this order. See if rearranging a case value would help.
|
||||
// We start at the bottom as it's the case with the least weight.
|
||||
for (Case *I = &*CR.Range.second-2, *E = &*CR.Range.first-1; I != E; --I){
|
||||
for (Case *I = &*(CR.Range.second-2), *E = &*CR.Range.first-1; I != E; --I){
|
||||
if (I->BB == NextBlock) {
|
||||
std::swap(*I, BackCase);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user