[InstCombine] Return poison for known bits conflict
authorNikita Popov <npopov@redhat.com>
Wed, 17 May 2023 16:39:26 +0000 (18:39 +0200)
committerNikita Popov <npopov@redhat.com>
Wed, 17 May 2023 16:40:12 +0000 (18:40 +0200)
commitd3da5b4521f82e1b092006e3d168053e673f72d9
tree530b67b489ff26343eca3e025ef33dc49c3c9663
parent9ba918dd1bba909c482398ae18ea45b4a1f4e3e7
[InstCombine] Return poison for known bits conflict

I suspect that this case is not actually reachable in practice
(because it gets folded away by other code before), but if we do
reach it, we should return poison, not undef.
llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp