diff options
author | Nikita Popov <npopov@redhat.com> | 2022-06-29 10:42:46 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-06-29 10:45:19 +0200 |
commit | 16033ffdd93c23b53c9429661a0539ed1bb70b97 (patch) | |
tree | 46352a1a75154e838f479e043f9ff27c668e9d8b /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 9d4a2baaa2c304066199ec6644da80aca7638dc6 (diff) | |
download | llvm-16033ffdd93c23b53c9429661a0539ed1bb70b97.zip llvm-16033ffdd93c23b53c9429661a0539ed1bb70b97.tar.gz llvm-16033ffdd93c23b53c9429661a0539ed1bb70b97.tar.bz2 |
[ConstExpr] Remove more leftovers of extractvalue expression (NFC)
Remove some leftover bits of extractvalue handling after the
removal in D125795.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<BlockAddress>(C)) { |