| commit | c767acd25a03bea31f9bf38fd67df8030ff42512 | [log] [tgz] |
|---|---|---|
| author | Evan Cheng <evan.cheng@apple.com> | Wed Jul 19 00:24:41 2006 +0000 |
| committer | Evan Cheng <evan.cheng@apple.com> | Wed Jul 19 00:24:41 2006 +0000 |
| tree | 66d03dcd9a18b9bd0b7d47ab40d9ea6a2ebe2d6f | |
| parent | c0973edc6999c136198552d9f6d415b8fe6faa33 [diff] [blame] |
Add code size to target instruction use it as the 3rd isel sorting tie-breaker. llvm-svn: 29193
diff --git a/llvm/lib/Target/Target.td b/llvm/lib/Target/Target.td index 3e7665f..75d3d7b 100644 --- a/llvm/lib/Target/Target.td +++ b/llvm/lib/Target/Target.td
@@ -147,6 +147,9 @@ // code. list<Predicate> Predicates = []; + // Code size. + int CodeSize = 0; + // Added complexity passed onto matching pattern. int AddedComplexity = 0;