aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 218e130580..0e061b90ac 100644
--- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -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;