Add attribute name and type to SubtargetFeatures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24012 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/PowerPC/PPC.td b/lib/Target/PowerPC/PPC.td
index 93edd0d..1de838f 100644
--- a/lib/Target/PowerPC/PPC.td
+++ b/lib/Target/PowerPC/PPC.td
@@ -19,15 +19,15 @@
// PowerPC Subtarget features.
//
-def Feature64Bit : SubtargetFeature<"64bit",
+def Feature64Bit : SubtargetFeature<"64bit", "bool", "Is64Bit",
"Enable 64-bit instructions">;
-def Feature64BitRegs : SubtargetFeature<"64bitregs",
+def Feature64BitRegs : SubtargetFeature<"64bitregs", "bool", "Has64BitRegs",
"Enable 64-bit registers [beta]">;
-def FeatureAltivec : SubtargetFeature<"altivec",
+def FeatureAltivec : SubtargetFeature<"altivec", "bool", "HasAltivec",
"Enable Altivec instructions">;
-def FeatureGPUL : SubtargetFeature<"gpul",
+def FeatureGPUL : SubtargetFeature<"gpul", "bool", "IsGigaProcessor",
"Enable GPUL instructions">;
-def FeatureFSqrt : SubtargetFeature<"fsqrt",
+def FeatureFSqrt : SubtargetFeature<"fsqrt", "bool", "HasFSQRT",
"Enable the fsqrt instruction">;
//===----------------------------------------------------------------------===//