Revert r361953 "[SVE][IR] Scalable Vector IR Type"
This reverts commit f4fc01f8dd.
It caused a 3-4x slowdown when doing thinlto links, PR42210.
llvm-svn: 362913
This commit is contained in:
@@ -938,13 +938,10 @@ void ModuleBitcodeWriter::writeTypeTable() {
|
||||
}
|
||||
case Type::VectorTyID: {
|
||||
VectorType *VT = cast<VectorType>(T);
|
||||
// VECTOR [numelts, eltty] or
|
||||
// [numelts, eltty, scalable]
|
||||
// VECTOR [numelts, eltty]
|
||||
Code = bitc::TYPE_CODE_VECTOR;
|
||||
TypeVals.push_back(VT->getNumElements());
|
||||
TypeVals.push_back(VE.getTypeID(VT->getElementType()));
|
||||
if (VT->isScalable())
|
||||
TypeVals.push_back(VT->isScalable());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user