From 631949892f2618d37d0d9c19a50c7631a72ca0b8 Mon Sep 17 00:00:00 2001 From: Ahmed Bougacha Date: Thu, 27 Aug 2015 18:14:21 +0000 Subject: [PATCH] [TableGen] Remove dead code. NFC. The only user of this was removed in r129670. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246176 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/DAGISelMatcherEmitter.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/utils/TableGen/DAGISelMatcherEmitter.cpp b/utils/TableGen/DAGISelMatcherEmitter.cpp index 4659dc15733..fcae48d260b 100644 --- a/utils/TableGen/DAGISelMatcherEmitter.cpp +++ b/utils/TableGen/DAGISelMatcherEmitter.cpp @@ -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 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"; -- 2.34.1