[InstCombine] use 'match' to simplify code
authorSanjay Patel <spatel@rotateright.com>
Tue, 23 Oct 2018 16:54:28 +0000 (16:54 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 23 Oct 2018 16:54:28 +0000 (16:54 +0000)
commit95790c546fc92ee179ee60b2f479892165873d7d
treeeaf5cc17d7665f9e5db5c00f3a9a2ac0a4e064fb
parent3885b49b8ec0803d42301c7ba03f2ab8a114a2fa
[InstCombine] use 'match' to simplify code

There's probably some vector-with-undef-element pattern
that shows an improvement, so this is probably not quite
'NFC'.

This is the last step towards removing the fake binop
queries for not/neg. Ie, there are no more uses of those
functions in trunk. Fneg should follow.

llvm-svn: 345050
llvm/lib/Transforms/InstCombine/InstCombineInternal.h