handle the unhandled case in the switch.

Swift SVN r15487
This commit is contained in:
Nadav Rotem
2014-03-26 05:45:46 +00:00
parent 6a0f2cfcb8
commit a6d2e033f4

View File

@@ -818,6 +818,8 @@ static Type DecodeIntrinsicType(ArrayRef<llvm::Intrinsic::IITDescriptor> &Table,
IITDescriptor D = Table.front();
Table = Table.slice(1);
switch (D.Kind) {
default:
llvm_unreachable("Unhandled case");
case IITDescriptor::Half:
case IITDescriptor::MMX:
case IITDescriptor::Metadata: