[InstSimplify] make uses of isImpliedCondition more efficient (NFCI)
authorSanjay Patel <spatel@rotateright.com>
Fri, 5 Aug 2022 15:51:59 +0000 (11:51 -0400)
committerSanjay Patel <spatel@rotateright.com>
Fri, 5 Aug 2022 16:06:47 +0000 (12:06 -0400)
commitb63fc26d33e16698e015d5942b4065fbacf44909
tree96fc22310d179ed359aee49a158522300e35d7a9
parent0533c39a765318404a1e50cfd5279410f4ebe2c8
[InstSimplify] make uses of isImpliedCondition more efficient (NFCI)

As suggested in the post-commit comments for 019d76196f79fcff3c148,
this makes the usage symmetric with the 'and' patterns and should
be more efficient.
llvm/lib/Analysis/InstructionSimplify.cpp