Condcodes are in the ISD namespace
authorChris Lattner <sabre@nondot.org>
Wed, 26 Oct 2005 17:02:02 +0000 (17:02 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 26 Oct 2005 17:02:02 +0000 (17:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24010 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/DAGISelEmitter.cpp

index 522267d7abe3c222292bfa05ca2eff4bf450838a..e468f3084b6edc9f4f5cbe18390c2b479f9e3337 100644 (file)
@@ -1590,7 +1590,7 @@ void DAGISelEmitter::EmitMatchForPattern(TreePatternNode *N,
         } else if (LeafRec->isSubClassOf("CondCode")) {
           // Make sure this is the specified cond code.
           OS << "      if (cast<CondCodeSDNode>(" << RootName << i
-             << ")->get() != " << "MVT::" << LeafRec->getName()
+             << ")->get() != " << "ISD::" << LeafRec->getName()
              << ") goto P" << PatternNo << "Fail;\n";
         } else {
           Child->dump();