OSDN Git Service

fix an odd thinko in an assertion, all arm tests pass now.
authorChris Lattner <sabre@nondot.org>
Sun, 21 Feb 2010 20:57:28 +0000 (20:57 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 21 Feb 2010 20:57:28 +0000 (20:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96758 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/DAGISelHeader.h

index f04fe34..99263b0 100644 (file)
@@ -470,7 +470,7 @@ SDNode *SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable,
       continue;
         
     case OPC_CheckFoldableChainNode: {
-      assert(!NodeStack.size() == 1 && "No parent node");
+      assert(NodeStack.size() != 1 && "No parent node");
       // Verify that all intermediate nodes between the root and this one have
       // a single use.
       bool HasMultipleUses = false;