[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Sep 8 14:04:57 PDT 2005
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.3 -> 1.4
---
Log message:
use node info in the one place we currently use it
---
Diffs of the changes: (+1 -1)
DAGISelEmitter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.3 llvm/utils/TableGen/DAGISelEmitter.cpp:1.4
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.3 Thu Sep 8 16:03:01 2005
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Thu Sep 8 16:04:46 2005
@@ -391,7 +391,7 @@
if (!CI->getValue().empty()) {
assert(!P->getTrees()[0]->isLeaf() && "Can't be a leaf!");
std::string ClassName =
- P->getTrees()[0]->getOperator()->getValueAsString("SDClass");
+ getSDNodeInfo(P->getTrees()[0]->getOperator()).getSDClassName();
const char *C2 = ClassName == "SDNode" ? "N" : "inN";
OS << "static inline bool Predicate_" << Fragments[i]->getName()
More information about the llvm-commits
mailing list