mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
[mips][msa] Fix buildbot failures caused by an unused variable when assertions are disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194472 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bb47fd04c9
commit
92e94a2ee4
@ -1346,14 +1346,13 @@ static SDValue lowerMSABitClear(SDValue Op, SelectionDAG &DAG) {
|
||||
static SDValue lowerMSABitClearImm(SDValue Op, SelectionDAG &DAG) {
|
||||
SDLoc DL(Op);
|
||||
EVT ResTy = Op->getValueType(0);
|
||||
unsigned ResTyNumElements = ResTy.getVectorNumElements();
|
||||
SDValue SHAmount = Op->getOperand(2);
|
||||
EVT ImmTy = SHAmount->getValueType(0);
|
||||
SDValue Bit =
|
||||
DAG.getNode(ISD::SHL, DL, ImmTy, DAG.getConstant(1, ImmTy), SHAmount);
|
||||
SDValue BitMask = DAG.getNOT(DL, Bit, ImmTy);
|
||||
|
||||
assert(ResTyNumElements <= 16);
|
||||
assert(ResTy.getVectorNumElements() <= 16);
|
||||
|
||||
BitMask = lowerMSASplatImm(DL, ResTy, BitMask, DAG);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user