From: Chris Lattner Date: Wed, 26 Oct 2005 17:02:02 +0000 (+0000) Subject: Condcodes are in the ISD namespace X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a7ad198f896d29aac57f48220ecefb8a51163393;p=oota-llvm.git Condcodes are in the ISD namespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24010 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp index 522267d7abe..e468f3084b6 100644 --- a/utils/TableGen/DAGISelEmitter.cpp +++ b/utils/TableGen/DAGISelEmitter.cpp @@ -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(" << RootName << i - << ")->get() != " << "MVT::" << LeafRec->getName() + << ")->get() != " << "ISD::" << LeafRec->getName() << ") goto P" << PatternNo << "Fail;\n"; } else { Child->dump();