mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-22 10:16:43 +00:00
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:
parent
70d4e75a37
commit
bf50d07625
@ -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 :
|
||||
|
Loading…
x
Reference in New Issue
Block a user