From 16033ffdd93c23b53c9429661a0539ed1bb70b97 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 29 Jun 2022 10:42:46 +0200 Subject: [ConstExpr] Remove more leftovers of extractvalue expression (NFC) Remove some leftover bits of extractvalue handling after the removal in D125795. --- llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp') diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index f5ccc80..941ed80 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -2674,9 +2674,8 @@ void ModuleBitcodeWriter::writeConstants(unsigned FirstVal, unsigned LastVal, Record.push_back(VE.getValueID(C->getOperand(1))); Record.push_back(CE->getPredicate()); break; - case Instruction::ExtractValue: case Instruction::InsertValue: - report_fatal_error("extractvalue/insertvalue constexprs not supported"); + report_fatal_error("insertvalue constexprs not supported"); break; } } else if (const BlockAddress *BA = dyn_cast(C)) { -- cgit v1.1