mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-19 02:25:01 +00:00
Fix an incorrectly inverted condition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31773 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2856,7 +2856,7 @@ bool DAGCombiner::CombineToPostIndexedLoadStore(SDNode *N) {
|
|||||||
} else
|
} else
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!Ptr.Val->hasOneUse())
|
if (Ptr.Val->hasOneUse())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
for (SDNode::use_iterator I = Ptr.Val->use_begin(),
|
for (SDNode::use_iterator I = Ptr.Val->use_begin(),
|
||||||
|
@@ -1481,7 +1481,6 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,
|
|||||||
// Perform various simplifications.
|
// Perform various simplifications.
|
||||||
ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.Val);
|
ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.Val);
|
||||||
ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.Val);
|
ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.Val);
|
||||||
//ConstantSDNode *N3C = dyn_cast<ConstantSDNode>(N3.Val);
|
|
||||||
switch (Opcode) {
|
switch (Opcode) {
|
||||||
case ISD::SETCC: {
|
case ISD::SETCC: {
|
||||||
// Use FoldSetCC to simplify SETCC's.
|
// Use FoldSetCC to simplify SETCC's.
|
||||||
|
Reference in New Issue
Block a user