[llvm] r246176 - [TableGen] Remove dead code. NFC.
Ahmed Bougacha via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 11:14:22 PDT 2015
Author: ab
Date: Thu Aug 27 13:14:21 2015
New Revision: 246176
URL: http://llvm.org/viewvc/llvm-project?rev=246176&view=rev
Log:
[TableGen] Remove dead code. NFC.
The only user of this was removed in r129670.
Modified:
llvm/trunk/utils/TableGen/DAGISelMatcherEmitter.cpp
Modified: llvm/trunk/utils/TableGen/DAGISelMatcherEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/DAGISelMatcherEmitter.cpp?rev=246176&r1=246175&r2=246176&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/DAGISelMatcherEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/DAGISelMatcherEmitter.cpp Thu Aug 27 13:14:21 2015
@@ -625,13 +625,6 @@ void MatcherTableEmitter::EmitPredicateF
}
// 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";
More information about the llvm-commits
mailing list