[llvm-commits] CVS: llvm/lib/Target/Target.td
Evan Cheng
evan.cheng at apple.com
Fri Jan 27 00:09:58 PST 2006
Changes in directory llvm/lib/Target:
Target.td updated: 1.69 -> 1.70
---
Log message:
Subtarget feature can now set any variable to any value
---
Diffs of the changes: (+5 -5)
Target.td | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.69 llvm/lib/Target/Target.td:1.70
--- llvm/lib/Target/Target.td:1.69 Thu Jan 26 19:46:15 2006
+++ llvm/lib/Target/Target.td Fri Jan 27 02:09:42 2006
@@ -287,20 +287,20 @@
//===----------------------------------------------------------------------===//
// SubtargetFeature - A characteristic of the chip set.
//
-class SubtargetFeature<string n, string t, string a, string d> {
+class SubtargetFeature<string n, string a, string v, 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;
+ // Value - Value the attribute to be set to by feature.
+ //
+ string Value = v;
+
// Desc - Feature description. Used by command line (-mattr=) to display help
// information.
//
More information about the llvm-commits
mailing list