[InstCombine] Drop redundant fold for and/or of icmp eq/ne (NFCI)
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 11 Nov 2021 18:15:11 +0000 (19:15 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 11 Nov 2021 19:25:40 +0000 (20:25 +0100)
commit986416251b354bb1b45870617050e72919ff2759
treeba95e8c79a7d7e781accd01917c052e2b5be518e
parentce89335fe8c97ed91806cd57a0c425acc48b2f18
[InstCombine] Drop redundant fold for and/or of icmp eq/ne (NFCI)

This handles a special case of foldAndOrOfICmpsUsingRanges()
with two equality predicates.
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp