mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
pass the address of MaskedValueIsZero into isMaskedValueZeroForTargetNode,
to permit recursion git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25799 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
87c890a9c2
commit
5c413bc451
@ -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