1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

use node info in the one place we currently use it

llvm-svn: 23280
This commit is contained in:
Chris Lattner 2005-09-08 21:04:46 +00:00
parent d9930002aa
commit ef07fffe37

View File

@ -391,7 +391,7 @@ void DAGISelEmitter::ParseAndResolvePatternFragments(std::ostream &OS) {
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()