[PATCH] D120906: [ARM][AArch64] generate subtarget feature flags [NFC]

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 18:36:53 PST 2022


MaskRay added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARM.td:205
 
+// HasDotProd - True if the ARMv8.2A dot product instructions are supported.
 def FeatureDotProd        : SubtargetFeature<"dotprod", "HasDotProd", "true",
----------------
https://llvm.org/docs/CodingStandards.html#doxygen-use-in-documentation-comments
"Don’t duplicate function or class name at the beginning of the comment."



================
Comment at: llvm/lib/Target/ARM/ARM.td:232
 
-// The way of reading thread pointer                                             
-def FeatureReadTp :  SubtargetFeature<"read-tp-hard", "ReadTPHard", "true",
+// The way of reading thread pointer
+// If true, read thread pointer from coprocessor register.
----------------
The two sentences now have no punctuation as a separator.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120906/new/

https://reviews.llvm.org/D120906



More information about the llvm-commits mailing list