[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:
1 parent
db034da211
commit
5fde95bb74
2 files changed
+1
-7
No files matched your search
@@ -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},
|
||||
|
||||
Reference in new issue
Block a user