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 | 7255a545613f9e713779ca81f55711c0863d9cc9 (patch) | |
tree | b6087874ea4c8b372dcd0908f1f390b2bcf6b351 | |
parent | ff70fe61ed4caaaa59a68f127102b348fb5f9355 (diff) |
fix inverted conditional
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27089 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index d0003fd0ee..0cd91ad572 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<SDOperand> Ops; |