diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-04-19 20:38:28 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-04-19 20:38:28 +0000 |
commit | f5e1dc278b86ae1731cc896039d6df16cf459ce6 (patch) | |
tree | 3477b760d3e8333a2c8293c3c668bbafbe287f4d | |
parent | 2dadaea5d2613125c0f7de33febdc44d97ae9648 (diff) |
Renamed AddedCost to AddedComplexity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27843 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Target.td | 4 | ||||
-rw-r--r-- | lib/Target/TargetSelectionDAG.td | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/Target.td b/lib/Target/Target.td index 4d6c80cf97..663dfce91e 100644 --- a/lib/Target/Target.td +++ b/lib/Target/Target.td @@ -144,8 +144,8 @@ class Instruction { // 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. diff --git a/lib/Target/TargetSelectionDAG.td b/lib/Target/TargetSelectionDAG.td index 38613c4188..61283ae2df 100644 --- a/lib/Target/TargetSelectionDAG.td +++ b/lib/Target/TargetSelectionDAG.td @@ -470,10 +470,10 @@ def setne : PatFrag<(ops node:$lhs, node:$rhs), // 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 |