diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-24 22:49:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-24 22:49:42 +0000 |
commit | 313229c74b0bb35d32e18f8755ab2ca90fcc6817 (patch) | |
tree | e9c9ef287b9e5f5a1ff67db529e7de5f5458223e | |
parent | bb84eae239e7b00662ecf08d5e02105a86faa245 (diff) | |
download | bcm5719-llvm-313229c74b0bb35d32e18f8755ab2ca90fcc6817.tar.gz bcm5719-llvm-313229c74b0bb35d32e18f8755ab2ca90fcc6817.zip |
fix inverted conditional
llvm-svn: 27089
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index d0003fd0ee3..0cd91ad5720 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -599,7 +599,7 @@ SDOperand SelectionDAGLowering::getValue(const Value *V) { assert(TLI.isTypeLegal(TVT) && "FIXME: Cannot handle illegal vector types here yet!"); VT = TVT; - } + } MVT::ValueType DestVT = TLI.getTypeToTransformTo(VT); @@ -1015,7 +1015,7 @@ static bool IntrinsicCannotAccessMemory(unsigned IntrinsicID) { /// node. void SelectionDAGLowering::visitTargetIntrinsic(CallInst &I, unsigned Intrinsic) { - bool HasChain = IntrinsicCannotAccessMemory(Intrinsic); + bool HasChain = !IntrinsicCannotAccessMemory(Intrinsic); // Build the operand list. std::vector<SDOperand> Ops; |