From: Eric Christopher Date: Thu, 23 Jun 2016 01:33:38 +0000 (+0000) Subject: Use C++ comments for large block comment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5783163d264705a4cf131285956b3e9dea5f3b4d;p=llvm Use C++ comments for large block comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273526 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPC.td b/lib/Target/PowerPC/PPC.td index c66e855c3e5..b40b530f4c5 100644 --- a/lib/Target/PowerPC/PPC.td +++ b/lib/Target/PowerPC/PPC.td @@ -37,14 +37,16 @@ def Directive64 : SubtargetFeature<"", "DarwinDirective", "PPC::DIR_64", "">; def DirectiveA2 : SubtargetFeature<"", "DarwinDirective", "PPC::DIR_A2", "">; def DirectiveE500mc : SubtargetFeature<"", "DarwinDirective", "PPC::DIR_E500mc", "">; -def DirectiveE5500 : SubtargetFeature<"", "DarwinDirective", +def DirectiveE5500 : SubtargetFeature<"", "DarwinDirective", "PPC::DIR_E5500", "">; def DirectivePwr3: SubtargetFeature<"", "DarwinDirective", "PPC::DIR_PWR3", "">; def DirectivePwr4: SubtargetFeature<"", "DarwinDirective", "PPC::DIR_PWR4", "">; def DirectivePwr5: SubtargetFeature<"", "DarwinDirective", "PPC::DIR_PWR5", "">; -def DirectivePwr5x: SubtargetFeature<"", "DarwinDirective", "PPC::DIR_PWR5X", "">; +def DirectivePwr5x + : SubtargetFeature<"", "DarwinDirective", "PPC::DIR_PWR5X", "">; def DirectivePwr6: SubtargetFeature<"", "DarwinDirective", "PPC::DIR_PWR6", "">; -def DirectivePwr6x: SubtargetFeature<"", "DarwinDirective", "PPC::DIR_PWR6X", "">; +def DirectivePwr6x + : SubtargetFeature<"", "DarwinDirective", "PPC::DIR_PWR6X", "">; def DirectivePwr7: SubtargetFeature<"", "DarwinDirective", "PPC::DIR_PWR7", "">; def DirectivePwr8: SubtargetFeature<"", "DarwinDirective", "PPC::DIR_PWR8", "">; def DirectivePwr9: SubtargetFeature<"", "DarwinDirective", "PPC::DIR_PWR9", "">; @@ -168,20 +170,19 @@ def FeatureP9Vector : SubtargetFeature<"power9-vector", "HasP9Vector", "true", [FeatureISA3_0, FeatureP8Vector, FeatureP9Altivec]>; -/* Since new processors generally contain a superset of features of those that - came before them, the idea is to make implementations of new processors - less error prone and easier to read. - Namely: - list Power8FeatureList = ... - list FutureProcessorSpecificFeatureList = - [ features that Power8 does not support ] - list FutureProcessorFeatureList = - !listconcat(Power8FeatureList, FutureProcessorSpecificFeatureList) +// Since new processors generally contain a superset of features of those that +// came before them, the idea is to make implementations of new processors +// less error prone and easier to read. +// Namely: +// list Power8FeatureList = ... +// list FutureProcessorSpecificFeatureList = +// [ features that Power8 does not support ] +// list FutureProcessorFeatureList = +// !listconcat(Power8FeatureList, FutureProcessorSpecificFeatureList) - Makes it explicit and obvious what is new in FutureProcesor vs. Power8 as - well as providing a single point of definition if the feature set will be - used elsewhere. -*/ +// Makes it explicit and obvious what is new in FutureProcesor vs. Power8 as +// well as providing a single point of definition if the feature set will be +// used elsewhere. def ProcessorFeatures { list Power7FeatureList = [DirectivePwr7, FeatureAltivec, FeatureVSX,