diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-12-06 19:05:46 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-12-06 19:05:46 +0000 |
commit | 9b1b2de348e391632bd1c8d4460ff03926269f2c (patch) | |
tree | 667444682ae2c6e6d19a7717170f7f2b01c66abb /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 0a683e7bfd45d97a44c31c0a82fe80672136e1e5 (diff) | |
download | bcm5719-llvm-9b1b2de348e391632bd1c8d4460ff03926269f2c.tar.gz bcm5719-llvm-9b1b2de348e391632bd1c8d4460ff03926269f2c.zip |
[InstSimplify] add folds for and-of-icmps with same operands
All of these (and a few more) are already handled by InstCombine,
but we shouldn't have to wait until then to simplify these because
they're cheap to deal with here in InstSimplify.
This is the 'and' sibling of the earlier 'or' patch:
https://reviews.llvm.org/rL288833
llvm-svn: 288841
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions