From 5fde95bb74dd1e7fc7e546d196b72bb47f3cc924 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 21 Aug 2023 14:18:40 +0200 Subject: [IR] Remove SDivOperator/UDivOperator (NFC) These haven't been supported as constant expressions for a while already, so having Operator variants of them doesn't make much sense. --- llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp') diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index ab08b9b..02afc73 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -3196,7 +3196,7 @@ Error BitcodeReader::parseConstants() { Opc == Instruction::LShr || Opc == Instruction::AShr) { if (Record[3] & (1 << bitc::PEO_EXACT)) - Flags |= SDivOperator::IsExact; + Flags |= PossiblyExactOperator::IsExact; } } V = BitcodeConstant::create(Alloc, CurTy, {(uint8_t)Opc, Flags}, -- cgit v1.1