forked from OSchip/llvm-project
parent
8ae58b5828
commit
f64da389f8
|
@ -2856,7 +2856,7 @@ bool DAGCombiner::CombineToPostIndexedLoadStore(SDNode *N) {
|
|||
} else
|
||||
return false;
|
||||
|
||||
if (!Ptr.Val->hasOneUse())
|
||||
if (Ptr.Val->hasOneUse())
|
||||
return false;
|
||||
|
||||
for (SDNode::use_iterator I = Ptr.Val->use_begin(),
|
||||
|
|
|
@ -1481,7 +1481,6 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,
|
|||
// Perform various simplifications.
|
||||
ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.Val);
|
||||
ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.Val);
|
||||
//ConstantSDNode *N3C = dyn_cast<ConstantSDNode>(N3.Val);
|
||||
switch (Opcode) {
|
||||
case ISD::SETCC: {
|
||||
// Use FoldSetCC to simplify SETCC's.
|
||||
|
|
Loading…
Reference in New Issue