summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-05-16 17:20:19 +0200
committerNikita Popov <npopov@redhat.com>2022-05-17 09:38:13 +0200
commita694546f7cdf6fbcacddf229eeff5316e4bd0eae (patch)
tree12032b7a5290b9aa0f2818e8c7c5e3ea61584799 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent5646d82885f64f1f886d84aff5422697f355f6c4 (diff)
[KnownBits] Add operator==
Checking whether two KnownBits are the same is somewhat common, mainly in test code. I don't think there is a lot of room for confusion with "determine what the KnownBits for an icmp eq would be", as that has a different result type (this is what the eq() method implements, which returns Optional<bool>). Differential Revision: https://reviews.llvm.org/D125692
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions