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:
parent
d9930002aa
commit
ef07fffe37
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user