Fix a [-Werror,-Wcovered-switch-default] warning by removing the

unnecessary default case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253621 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2015-11-19 23:45:42 +00:00
parent d1d6f53a8b
commit a0734793bf

View File

@ -754,7 +754,6 @@ void RelooperAlgorithm::Calculate(Block *Entry) {
loop(cast<LoopShape>(var));
break;
}
default: llvm_unreachable("invalid shape");
}
}