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

Evan Cheng evan.cheng at apple.com
Wed Apr 19 13:38:41 PDT 2006



Changes in directory llvm/lib/Target:

Target.td updated: 1.76 -> 1.77
TargetSelectionDAG.td updated: 1.65 -> 1.66
---
Log message:

Renamed AddedCost to AddedComplexity.


---
Diffs of the changes:  (+6 -6)

 Target.td             |    4 ++--
 TargetSelectionDAG.td |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)


Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.76 llvm/lib/Target/Target.td:1.77
--- llvm/lib/Target/Target.td:1.76	Wed Apr 19 13:07:24 2006
+++ llvm/lib/Target/Target.td	Wed Apr 19 15:38:28 2006
@@ -144,8 +144,8 @@
   // code.
   list<Predicate> Predicates = [];
 
-  // Added cost passed onto matching pattern.
-  int AddedCost  = 0;
+  // Added complexity passed onto matching pattern.
+  int AddedComplexity  = 0;
 
   // These bits capture information about the high-level semantics of the
   // instruction.


Index: llvm/lib/Target/TargetSelectionDAG.td
diff -u llvm/lib/Target/TargetSelectionDAG.td:1.65 llvm/lib/Target/TargetSelectionDAG.td:1.66
--- llvm/lib/Target/TargetSelectionDAG.td:1.65	Wed Apr 19 13:07:24 2006
+++ llvm/lib/Target/TargetSelectionDAG.td	Wed Apr 19 15:38:28 2006
@@ -470,10 +470,10 @@
 //
 
 class Pattern<dag patternToMatch, list<dag> resultInstrs> {
-  dag             PatternToMatch = patternToMatch;
-  list<dag>       ResultInstrs   = resultInstrs;
-  list<Predicate> Predicates     = [];  // See class Instruction in Target.td.
-  int             AddedCost      = 0;   // See class Instruction in Target.td.
+  dag             PatternToMatch  = patternToMatch;
+  list<dag>       ResultInstrs    = resultInstrs;
+  list<Predicate> Predicates      = [];  // See class Instruction in Target.td.
+  int             AddedComplexity = 0;  // See class Instruction in Target.td.
 }
 
 // Pat - A simple (but common) form of a pattern, which produces a simple result






More information about the llvm-commits mailing list