diff options
author | Christopher Tetreault <ctetreau@quicinc.com> | 2020-04-23 13:10:17 -0700 |
---|---|---|
committer | Christopher Tetreault <ctetreau@quicinc.com> | 2020-04-23 13:28:15 -0700 |
commit | 0d9144a21eabeef0795046ca07a6c8df17ebe7b0 (patch) | |
tree | 6f8c812aaf8b462ace2f53299e1466d8625987e9 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | abe827be9e8c718ba81783cfba7ed64185e4eca3 (diff) | |
download | llvm-0d9144a21eabeef0795046ca07a6c8df17ebe7b0.zip llvm-0d9144a21eabeef0795046ca07a6c8df17ebe7b0.tar.gz llvm-0d9144a21eabeef0795046ca07a6c8df17ebe7b0.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 7a92c4b..e40e622 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -957,8 +957,8 @@ void ModuleBitcodeWriter::writeTypeTable() { 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()); + if (isa<ScalableVectorType>(VT)) + TypeVals.push_back(true); break; } } |