[TableGen] Remove dead code. NFC.

The only user of this was removed in r129670.

llvm-svn: 246176
This commit is contained in:
Ahmed Bougacha 2015-08-27 18:14:21 +00:00
parent f624d1ab8d
commit 874e93f4b4
1 changed files with 0 additions and 7 deletions

View File

@ -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";