forked from OSchip/llvm-project
[PM/Unswitch] Fix unused variable in r336646.
llvm-svn: 336647
This commit is contained in:
parent
47dc3a346e
commit
148861f579
|
@ -691,6 +691,7 @@ static bool unswitchTrivialSwitch(Loop &L, SwitchInst &SI, DominatorTree &DT,
|
|||
for (auto Case : SI.cases()) {
|
||||
assert(Case.getCaseSuccessor() == CommonSuccBB &&
|
||||
"Non-common successor!");
|
||||
(void)Case;
|
||||
if (!SkippedFirst) {
|
||||
SkippedFirst = true;
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue