From: Chris Lattner Date: Fri, 24 Mar 2006 22:49:42 +0000 (+0000) Subject: fix inverted conditional X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7255a545613f9e713779ca81f55711c0863d9cc9;p=oota-llvm.git fix inverted conditional git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27089 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index d0003fd0ee3..0cd91ad5720 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/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 Ops;