Add code size to target instruction use it as the 3rd isel sorting tie-breaker.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29193 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Target.td b/lib/Target/Target.td
index 3e7665f..75d3d7b 100644
--- a/lib/Target/Target.td
+++ b/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;