[llvm] de08244 - TableGen: Remove unused code
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 07:38:25 PST 2020
Author: Matt Arsenault
Date: 2020-01-09T10:32:57-05:00
New Revision: de08244d3da52215b8c63bc70d0a3c9e07b620a3
URL: https://github.com/llvm/llvm-project/commit/de08244d3da52215b8c63bc70d0a3c9e07b620a3
DIFF: https://github.com/llvm/llvm-project/commit/de08244d3da52215b8c63bc70d0a3c9e07b620a3.diff
LOG: TableGen: Remove unused code
Added:
Modified:
llvm/utils/TableGen/CodeGenDAGPatterns.h
Removed:
################################################################################
diff --git a/llvm/utils/TableGen/CodeGenDAGPatterns.h b/llvm/utils/TableGen/CodeGenDAGPatterns.h
index c61b55052533..2c081b670609 100644
--- a/llvm/utils/TableGen/CodeGenDAGPatterns.h
+++ b/llvm/utils/TableGen/CodeGenDAGPatterns.h
@@ -1195,12 +1195,6 @@ class CodeGenDAGPatterns {
return F->second;
}
- typedef std::map<Record*, NodeXForm, LessRecordByID>::const_iterator
- nx_iterator;
- nx_iterator nx_begin() const { return SDNodeXForms.begin(); }
- nx_iterator nx_end() const { return SDNodeXForms.end(); }
-
-
const ComplexPattern &getComplexPattern(Record *R) const {
auto F = ComplexPatterns.find(R);
assert(F != ComplexPatterns.end() && "Unknown addressing mode!");
More information about the llvm-commits
mailing list