From 8845acff7527da74dfacc507220e7250bb563c20 Mon Sep 17 00:00:00 2001 From: Christopher Tetreault Date: Thu, 23 Apr 2020 13:10:17 -0700 Subject: [PATCH] [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 --- lib/Bitcode/Writer/BitcodeWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp index 7a92c4bf100..e40e622f2e3 100644 --- a/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/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(VT)) + TypeVals.push_back(true); break; } }