summaryrefslogtreecommitdiffstats
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
commitf277ac7caab8adb14f4e4bf9f0c4f5c447088e2b (patch)
tree720e67e875880c6a72cecb2bdf10f6ec3296b6e5
parentce9580fce4e4f53e51e56d903b32726d19565ce8 (diff)
downloadbcm5719-llvm-f277ac7caab8adb14f4e4bf9f0c4f5c447088e2b.tar.gz
bcm5719-llvm-f277ac7caab8adb14f4e4bf9f0c4f5c447088e2b.zip
Condcodes are in the ISD namespace
llvm-svn: 24010
-rw-r--r--llvm/utils/TableGen/DAGISelEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/DAGISelEmitter.cpp b/llvm/utils/TableGen/DAGISelEmitter.cpp
index 522267d7abe..e468f3084b6 100644
--- a/llvm/utils/TableGen/DAGISelEmitter.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud