[TableGen] Remove dead code. NFC.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Thu, 27 Aug 2015 18:14:21 +0000 (18:14 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Thu, 27 Aug 2015 18:14:21 +0000 (18:14 +0000)
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

index 4659dc157338b1459818f80dc4638516fde3782b..fcae48d260b2de3e294e36bb1c4f3cea1e28fa3b 100644 (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";