summaryrefslogtreecommitdiffstats
path: root/utils/TableGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-26 17:02:02 +0000
committerChris Lattner <sabre@nondot.org>2005-10-26 17:02:02 +0000
commita7ad198f896d29aac57f48220ecefb8a51163393 (patch)
tree789216e8a5e31e8f32e02ff56016693ef02657ae /utils/TableGen
parent1f426deadea4275b1473f9b4e12c8b2393a94d2e (diff)
downloadexternal_llvm-a7ad198f896d29aac57f48220ecefb8a51163393.zip
external_llvm-a7ad198f896d29aac57f48220ecefb8a51163393.tar.gz
external_llvm-a7ad198f896d29aac57f48220ecefb8a51163393.tar.bz2
Condcodes are in the ISD namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24010 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/DAGISelEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index 522267d..e468f30 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<CondCodeSDNode>(" << RootName << i
- << ")->get() != " << "MVT::" << LeafRec->getName()
+ << ")->get() != " << "ISD::" << LeafRec->getName()
<< ") goto P" << PatternNo << "Fail;\n";
} else {
Child->dump();