mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 23:57:48 +00:00
Fix a few more places in TableGen that need to handle EVT::vAny types.
llvm-svn: 78643
This commit is contained in:
parent
4e0d543e35
commit
e1f8a1a8c3
@ -493,7 +493,8 @@ CodeGenIntrinsic::CodeGenIntrinsic(Record *R) {
|
||||
// overloaded, all the types can be specified directly.
|
||||
assert(((!TyEl->isSubClassOf("LLVMExtendedElementVectorType") &&
|
||||
!TyEl->isSubClassOf("LLVMTruncatedElementVectorType")) ||
|
||||
VT == EVT::iAny) && "Expected iAny type");
|
||||
VT == EVT::iAny || VT == EVT::vAny) &&
|
||||
"Expected iAny or vAny type");
|
||||
} else {
|
||||
VT = getValueType(TyEl->getValueAsDef("VT"));
|
||||
}
|
||||
@ -524,7 +525,8 @@ CodeGenIntrinsic::CodeGenIntrinsic(Record *R) {
|
||||
// overloaded, all the types can be specified directly.
|
||||
assert(((!TyEl->isSubClassOf("LLVMExtendedElementVectorType") &&
|
||||
!TyEl->isSubClassOf("LLVMTruncatedElementVectorType")) ||
|
||||
VT == EVT::iAny) && "Expected iAny type");
|
||||
VT == EVT::iAny || VT == EVT::vAny) &&
|
||||
"Expected iAny or vAny type");
|
||||
} else
|
||||
VT = getValueType(TyEl->getValueAsDef("VT"));
|
||||
if (EVT(VT).isOverloaded()) {
|
||||
|
Loading…
Reference in New Issue
Block a user