diff options
| author | Nikita Popov <npopov@redhat.com> | 2022-05-16 17:20:19 +0200 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2022-05-17 09:38:13 +0200 |
| commit | a694546f7cdf6fbcacddf229eeff5316e4bd0eae (patch) | |
| tree | 12032b7a5290b9aa0f2818e8c7c5e3ea61584799 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 5646d82885f64f1f886d84aff5422697f355f6c4 (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
