[InstSimplify] remove redundant calls to 'isImplied'; NFCI
authorSanjay Patel <spatel@rotateright.com>
Tue, 26 Jul 2022 17:29:48 +0000 (13:29 -0400)
committerSanjay Patel <spatel@rotateright.com>
Tue, 26 Jul 2022 18:47:21 +0000 (14:47 -0400)
commitdcd09467b0b8f462c40ab4ffa3a4e54a321dd55e
treeae3416cb1c36ca4b3b4721a08e2011de5d0715b2
parentc17420fdeebb86f48994f4eb824e1f16d432c492
[InstSimplify] remove redundant calls to 'isImplied'; NFCI

We already call the more general isImpliedCondition() (which calls
isImpliedTrueByMatchingCmp() internally) from simplifyAndInst()
and simplifyOrInst().

There was a difference visible with this change on a vector test
before a925bef70c6c, but I can't find any gaps now.
llvm/lib/Analysis/InstructionSimplify.cpp