forked from OSchip/llvm-project
[TableGen] Remove dead code. NFC.
The only user of this was removed in r129670. llvm-svn: 246176
This commit is contained in:
parent
f624d1ab8d
commit
874e93f4b4
|
@ -625,13 +625,6 @@ void MatcherTableEmitter::EmitPredicateFunctions(formatted_raw_ostream &OS) {
|
|||
}
|
||||
|
||||
// Emit Node predicates.
|
||||
// FIXME: Annoyingly, these are stored by name, which we never even emit. Yay?
|
||||
StringMap<TreePattern*> PFsByName;
|
||||
|
||||
for (CodeGenDAGPatterns::pf_iterator I = CGP.pf_begin(), E = CGP.pf_end();
|
||||
I != E; ++I)
|
||||
PFsByName[I->first->getName()] = I->second.get();
|
||||
|
||||
if (!NodePredicates.empty()) {
|
||||
OS << "bool CheckNodePredicate(SDNode *Node,\n";
|
||||
OS << " unsigned PredNo) const override {\n";
|
||||
|
|
Loading…
Reference in New Issue