Add vAny and Metadata to the switch in getSizeInBits for consistency since every other enum was listed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170977 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2012-12-22 03:08:37 +00:00
parent 70d4e75a37
commit bf50d07625

View File

@ -328,7 +328,10 @@ namespace llvm {
case iPTRAny:
case iAny:
case fAny:
case vAny:
llvm_unreachable("Value type is overloaded.");
case Metadata:
llvm_unreachable("Value type is metadata.");
default:
llvm_unreachable("getSizeInBits called on extended MVT.");
case i1 : return 1;
@ -345,7 +348,7 @@ namespace llvm {
case i32 :
case v4i8:
case v2i16:
case v2f16:
case v2f16:
case v1i32: return 32;
case x86mmx:
case f64 :