[MIPS][SelectionDAG] Enable TargetLowering::hasBitTest for masks that fit in ANDI.
authorLiqin.Weng <Liqin.Weng@streamcomputing.com>
Wed, 27 Apr 2022 08:05:01 +0000 (08:05 +0000)
committerLiqin.Weng <Liqin.Weng@streamcomputing.com>
Wed, 27 Apr 2022 09:03:14 +0000 (09:03 +0000)
commitca3cd345a0d0046ef15e6806494099b017cb1b31
treef8dff2b5009a07185f7da88ceab54d5b5d7d76f7
parenta15b66e76d1ecff625a4bbb4a46ff83a43138f49
[MIPS][SelectionDAG] Enable TargetLowering::hasBitTest for masks that fit in ANDI.

Reviewed By: sdardis

Differential Revision: https://reviews.llvm.org/D123577
llvm/lib/Target/Mips/MipsISelLowering.cpp
llvm/lib/Target/Mips/MipsISelLowering.h
llvm/test/CodeGen/Mips/bittest.ll [new file with mode: 0644]