aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-08-21 14:18:40 +0200
committerNikita Popov <npopov@redhat.com>2023-08-21 14:24:32 +0200
commit5fde95bb74dd1e7fc7e546d196b72bb47f3cc924 (patch)
tree97a36d608ce11ff1eb694cbd1c4f7542559e9f8a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentdb034da21131ad5573f69ee39766cdba41c135a6 (diff)
downloadllvm-5fde95bb74dd1e7fc7e546d196b72bb47f3cc924.zip
llvm-5fde95bb74dd1e7fc7e546d196b72bb47f3cc924.tar.gz
llvm-5fde95bb74dd1e7fc7e546d196b72bb47f3cc924.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp2
1 files changed, 1 insertions, 1 deletions
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},