mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-11 04:01:01 +00:00
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304637
This commit is contained in:
parent
870ed0ecd4
commit
0ef97c9413
@ -1823,6 +1823,7 @@ static PHINode *getLoopPhiForCounter(Value *IncV, Loop *L, DominatorTree *DT) {
|
|||||||
// An IV counter must preserve its type.
|
// An IV counter must preserve its type.
|
||||||
if (IncI->getNumOperands() == 2)
|
if (IncI->getNumOperands() == 2)
|
||||||
break;
|
break;
|
||||||
|
LLVM_FALLTHROUGH;
|
||||||
default:
|
default:
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user