llvm.org GIT mirror llvm / 9b6a53a
Fix a few more places in TableGen that need to handle EVT::vAny types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78643 91177308-0d34-0410-b5e6-96231b3b80d8 Bob Wilson 10 years ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
492492 // overloaded, all the types can be specified directly.
493493 assert(((!TyEl->isSubClassOf("LLVMExtendedElementVectorType") &&
494494 !TyEl->isSubClassOf("LLVMTruncatedElementVectorType")) ||
495 VT == EVT::iAny) && "Expected iAny type");
495 VT == EVT::iAny || VT == EVT::vAny) &&
496 "Expected iAny or vAny type");
496497 } else {
497498 VT = getValueType(TyEl->getValueAsDef("VT"));
498499 }
523524 // overloaded, all the types can be specified directly.
524525 assert(((!TyEl->isSubClassOf("LLVMExtendedElementVectorType") &&
525526 !TyEl->isSubClassOf("LLVMTruncatedElementVectorType")) ||
526 VT == EVT::iAny) && "Expected iAny type");
527 VT == EVT::iAny || VT == EVT::vAny) &&
528 "Expected iAny or vAny type");
527529 } else
528530 VT = getValueType(TyEl->getValueAsDef("VT"));
529531 if (EVT(VT).isOverloaded()) {