[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Mar 24 14:49:55 PST 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.204 -> 1.205
---
Log message:

fix inverted conditional


---
Diffs of the changes:  (+2 -2)

 SelectionDAGISel.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.204 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.205
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.204	Fri Mar 24 03:50:27 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp	Fri Mar 24 16:49:42 2006
@@ -599,7 +599,7 @@
     assert(TLI.isTypeLegal(TVT) &&
            "FIXME: Cannot handle illegal vector types here yet!");
     VT = TVT;
-  }  
+  }
   
   MVT::ValueType DestVT = TLI.getTypeToTransformTo(VT);
   
@@ -1015,7 +1015,7 @@
 /// node.
 void SelectionDAGLowering::visitTargetIntrinsic(CallInst &I, 
                                                 unsigned Intrinsic) {
-  bool HasChain = IntrinsicCannotAccessMemory(Intrinsic);
+  bool HasChain = !IntrinsicCannotAccessMemory(Intrinsic);
   
   // Build the operand list.
   std::vector<SDOperand> Ops;






More information about the llvm-commits mailing list