[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.
This commit is contained in:
Nikita Popov committed 2023-08-21 14:24:32 +02:00
1 parent db034da211
commit 5fde95bb74
2 files changed
+1 -7

No files matched your search

+1 -1
View File
@@ -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},