Changes in directory llvm/lib/Target:
Target.td updated: 1.55 -> 1.56 --- Log message: Add attribute name and type to SubtargetFeatures. --- Diffs of the changes: (+9 -1) Target.td | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletion(-) Index: llvm/lib/Target/Target.td diff -u llvm/lib/Target/Target.td:1.55 llvm/lib/Target/Target.td:1.56 --- llvm/lib/Target/Target.td:1.55 Fri Oct 21 14:05:19 2005 +++ llvm/lib/Target/Target.td Wed Oct 26 12:28:23 2005 @@ -252,12 +252,20 @@ //===----------------------------------------------------------------------===// // SubtargetFeature - A characteristic of the chip set. // -class SubtargetFeature<string n, string d> { +class SubtargetFeature<string n, string t, string a, string d> { // Name - Feature name. Used by command line (-mattr=) to determine the // appropriate target chip. // string Name = n; + // Type - Type of attribute to be set by feature. + // + string Type = t; + + // Attribute - Attribute to be set by feature. + // + string Attribute = a; + // Desc - Feature description. Used by command line (-mattr=) to display help // information. // _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits