diff options
Diffstat (limited to 'lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index b77b810bac..ebda6d1210 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -2068,7 +2068,7 @@ SDOperand DAGCombiner::visitXOR(SDNode *N) { N0.Val->hasOneUse() && isSetCCEquivalent(N0.getOperand(0), LHS, RHS, CC)){ SDOperand V = N0.getOperand(0); V = DAG.getNode(ISD::XOR, V.getValueType(), V, - DAG.getConstant(V.getValueType(), 1)); + DAG.getConstant(1, V.getValueType())); AddToWorkList(V.Val); return DAG.getNode(ISD::ZERO_EXTEND, VT, V); } |