summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-24 22:49:42 +0000
committerChris Lattner <sabre@nondot.org>2006-03-24 22:49:42 +0000
commit313229c74b0bb35d32e18f8755ab2ca90fcc6817 (patch)
treee9c9ef287b9e5f5a1ff67db529e7de5f5458223e
parentbb84eae239e7b00662ecf08d5e02105a86faa245 (diff)
downloadbcm5719-llvm-313229c74b0bb35d32e18f8755ab2ca90fcc6817.tar.gz
bcm5719-llvm-313229c74b0bb35d32e18f8755ab2ca90fcc6817.zip
fix inverted conditional
llvm-svn: 27089
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp4
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;
OpenPOWER on IntegriCloud