1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

[SVE] Remove isScalable from Bitcode

Reviewers: efriedma, dexonsmith, tejohnson, sdesmalen

Reviewed By: efriedma

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77695
This commit is contained in:
Christopher Tetreault 2020-04-23 13:10:17 -07:00
parent 51927a5cf9
commit 8845acff75

View File

@ -957,8 +957,8 @@ void ModuleBitcodeWriter::writeTypeTable() {
Code = bitc::TYPE_CODE_VECTOR; Code = bitc::TYPE_CODE_VECTOR;
TypeVals.push_back(VT->getNumElements()); TypeVals.push_back(VT->getNumElements());
TypeVals.push_back(VE.getTypeID(VT->getElementType())); TypeVals.push_back(VE.getTypeID(VT->getElementType()));
if (VT->isScalable()) if (isa<ScalableVectorType>(VT))
TypeVals.push_back(VT->isScalable()); TypeVals.push_back(true);
break; break;
} }
} }