summaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetSelectionDAG.td
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-04 20:31:55 +0000
committerDan Gohman <gohman@apple.com>2010-01-04 20:31:55 +0000
commit537ab90d8de19b9f9cd758188947bde2edfd0358 (patch)
treea321ba6e5f165984d421e5fcc8e13bd4ad147da7 /include/llvm/Target/TargetSelectionDAG.td
parent6e120a1c7049bb424b37626db61b71bedc6e62a0 (diff)
downloadllvm-537ab90d8de19b9f9cd758188947bde2edfd0358.tar.gz
llvm-537ab90d8de19b9f9cd758188947bde2edfd0358.tar.bz2
llvm-537ab90d8de19b9f9cd758188947bde2edfd0358.tar.xz
Remove the CPAttrParentAsRoot code, which is unused, and inconvenient
for a refactoring I'm working on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92503 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetSelectionDAG.td')
-rw-r--r--include/llvm/Target/TargetSelectionDAG.td9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/llvm/Target/TargetSelectionDAG.td b/include/llvm/Target/TargetSelectionDAG.td
index 7f54f819af..4b72f81eb1 100644
--- a/include/llvm/Target/TargetSelectionDAG.td
+++ b/include/llvm/Target/TargetSelectionDAG.td
@@ -843,11 +843,6 @@ class Pat<dag pattern, dag result> : Pattern<pattern, [result]>;
// Complex pattern definitions.
//
-class CPAttribute;
-// Pass the parent Operand as root to CP function rather
-// than the root of the sub-DAG
-def CPAttrParentAsRoot : CPAttribute;
-
// Complex patterns, e.g. X86 addressing mode, requires pattern matching code
// in C++. NumOperands is the number of operands returned by the select function;
// SelectFunc is the name of the function used to pattern match the max. pattern;
@@ -855,12 +850,10 @@ def CPAttrParentAsRoot : CPAttribute;
// e.g. X86 addressing mode - def addr : ComplexPattern<4, "SelectAddr", [add]>;
//
class ComplexPattern<ValueType ty, int numops, string fn,
- list<SDNode> roots = [], list<SDNodeProperty> props = [],
- list<CPAttribute> attrs = []> {
+ list<SDNode> roots = [], list<SDNodeProperty> props = []> {
ValueType Ty = ty;
int NumOperands = numops;
string SelectFunc = fn;
list<SDNode> RootNodes = roots;
list<SDNodeProperty> Properties = props;
- list<CPAttribute> Attributes = attrs;
}