diff options
| author | Nikita Popov <npopov@redhat.com> | 2024-04-15 13:36:57 +0900 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2024-04-15 13:54:09 +0900 |
| commit | 52a1998f15ab0e5b9ff7afa8b92cc714463d5dd8 (patch) | |
| tree | 1f6eced823855bde09877ae62a69d32ba5d3fd6b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | c7902d87a5a050b816edfe99e7e093ae63f4e564 (diff) | |
[ValueTracking] Don't accept undef in isKnownNonZero()
As the undef can be replaced with a zero value, this is not legal
in the general case. We can only allow poison values. This matches
what the other ValueTracking helpers like computeKnownBits() do.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
