[InstCombine] Use m_APInt() in asymmetric masked icmp fold
authorNikita Popov <npopov@redhat.com>
Tue, 24 May 2022 08:56:16 +0000 (10:56 +0200)
committerNikita Popov <npopov@redhat.com>
Tue, 24 May 2022 08:57:28 +0000 (10:57 +0200)
commit5abaabed22d749360d2c1d77907d927207de87b4
tree4642149abe3488fe95c70ebb21997f7341c840d4
parente1fcf998dc95f832da440ce9227c83fa6af96011
[InstCombine] Use m_APInt() in asymmetric masked icmp fold

This is mostly intended as code cleanup, but it does also add
support for splat vectors to this fold.
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/test/Transforms/InstCombine/icmp-logical.ll