summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-04-15 13:36:57 +0900
committerNikita Popov <npopov@redhat.com>2024-04-15 13:54:09 +0900
commit52a1998f15ab0e5b9ff7afa8b92cc714463d5dd8 (patch)
tree1f6eced823855bde09877ae62a69d32ba5d3fd6b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentc7902d87a5a050b816edfe99e7e093ae63f4e564 (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