mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-12 15:51:40 +00:00
[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
This commit is contained in:
parent
b325a1ace5
commit
631949892f
@ -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…
x
Reference in New Issue
Block a user