mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
pass the address of MaskedValueIsZero into isMaskedValueZeroForTargetNode,
to permit recursion llvm-svn: 25799
This commit is contained in:
parent
754bc1f46c
commit
26589d32e6
@ -462,7 +462,7 @@ static bool MaskedValueIsZero(const SDOperand &Op, uint64_t Mask,
|
||||
return (Mask & (MVT::getSizeInBits(Op.getValueType())*2-1)) == 0;
|
||||
default:
|
||||
if (Op.getOpcode() >= ISD::BUILTIN_OP_END)
|
||||
return TLI.isMaskedValueZeroForTargetNode(Op, Mask);
|
||||
return TLI.isMaskedValueZeroForTargetNode(Op, Mask, MaskedValueIsZero);
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user