mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user