diff options
author | Sanjay Patel <spatel@rotateright.com> | 2015-11-09 23:31:38 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2015-11-09 23:31:38 +0000 |
commit | 533c10c651e054654a6839bbfbec41f8a2a8df13 (patch) | |
tree | 1292ffe25fa293357a5a4cd09c8234cc142bc555 /llvm/lib/Support/Unix | |
parent | e68649279e267e16d28e06f6e3f66fc7049326f1 (diff) | |
download | bcm5719-llvm-533c10c651e054654a6839bbfbec41f8a2a8df13.tar.gz bcm5719-llvm-533c10c651e054654a6839bbfbec41f8a2a8df13.zip |
add a SelectionDAG method to check if no common bits are set in two nodes; NFCI
This was suggested in:
http://reviews.llvm.org/D13956
and is a follow-on to:
http://reviews.llvm.org/rL252515
http://reviews.llvm.org/rL252519
This lets us remove logically equivalent/duplicated code from DAGCombiner and X86ISelDAGToDAG.
A corresponding function for IR instructions already exists in ValueTracking.
llvm-svn: 252539
Diffstat (limited to 'llvm/lib/Support/Unix')
0 files changed, 0 insertions, 0 deletions