[NFC][PowerPC] Add a function tryAndWithMask to handle all the cases
authorQingShan Zhang <qshanz@cn.ibm.com>
Thu, 26 Dec 2019 02:48:30 +0000 (02:48 +0000)
committerQingShan Zhang <qshanz@cn.ibm.com>
Thu, 26 Dec 2019 02:48:30 +0000 (02:48 +0000)
commite973783916d3f6d086d796affbac5ed81d0e75f8
tree281533d2fc5360bb64c1e3d8ebe895c7f3ffe0c6
parentd1f41b2ca9991b131f9daba6953c8b805282b83a
[NFC][PowerPC] Add a function tryAndWithMask to handle all the cases
that 'and' with constant

More patches will be committed later to exploit more about 'and' with
constant.

Differential Revision: https://reviews.llvm.org/D71693
llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp