diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-06-09 19:27:50 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-06-09 19:27:50 +0000 |
commit | 80fee25776c2fb61e74c1ecb1a523375c2500b69 (patch) | |
tree | b21416d6a0878d1c17c48f65c4872d44671809bf /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | dcf5e6abdf0c122edef0ece6d32b039455120c78 (diff) | |
download | llvm-80fee25776c2fb61e74c1ecb1a523375c2500b69.zip llvm-80fee25776c2fb61e74c1ecb1a523375c2500b69.tar.gz llvm-80fee25776c2fb61e74c1ecb1a523375c2500b69.tar.bz2 |
Revert r361953 "[SVE][IR] Scalable Vector IR Type"
This reverts commit f4fc01f8dd3a5dfd2060d1ad0df6b90e8351ddf7.
It caused a 3-4x slowdown when doing thinlto links, PR42210.
llvm-svn: 362913
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index d243815..6cbe5b1 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -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; } } |