mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 18:33:56 +00:00
use node info in the one place we currently use it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23280 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ca559d0654
commit
6af14a629d
@ -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…
x
Reference in New Issue
Block a user