[llvm-commits] CVS: llvm/lib/Target/TargetSelectionDAG.td

Evan Cheng evan.cheng at apple.com
Wed Oct 11 14:03:31 PDT 2006



Changes in directory llvm/lib/Target:

TargetSelectionDAG.td updated: 1.71 -> 1.72
---
Log message:

Add properties to ComplexPattern.

---
Diffs of the changes:  (+3 -1)

 TargetSelectionDAG.td |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/TargetSelectionDAG.td
diff -u llvm/lib/Target/TargetSelectionDAG.td:1.71 llvm/lib/Target/TargetSelectionDAG.td:1.72
--- llvm/lib/Target/TargetSelectionDAG.td:1.71	Wed Oct 11 02:10:22 2006
+++ llvm/lib/Target/TargetSelectionDAG.td	Wed Oct 11 16:03:11 2006
@@ -554,11 +554,13 @@
 // RootNodes are the list of possible root nodes of the sub-dags to match.
 // e.g. X86 addressing mode - def addr : ComplexPattern<4, "SelectAddr", [add]>;
 //
-class ComplexPattern<ValueType ty, int numops, string fn, list<SDNode> roots = []> {
+class ComplexPattern<ValueType ty, int numops, string fn,
+                     list<SDNode> roots = [], list<SDNodeProperty> props = []> {
   ValueType Ty = ty;
   int NumOperands = numops;
   string SelectFunc = fn;
   list<SDNode> RootNodes = roots;
+  list<SDNodeProperty> Properties = props;
 }
 
 //===----------------------------------------------------------------------===//






More information about the llvm-commits mailing list