[llvm] 7ee94d7 - [RISCV] Make SubtargetFeature description strings consistent with AssemblerPredicate.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 19 00:12:39 PDT 2023
Author: Craig Topper
Date: 2023-07-19T00:12:19-07:00
New Revision: 7ee94d716757edf281e5e6d98e91be5741244140
URL: https://github.com/llvm/llvm-project/commit/7ee94d716757edf281e5e6d98e91be5741244140
DIFF: https://github.com/llvm/llvm-project/commit/7ee94d716757edf281e5e6d98e91be5741244140.diff
LOG: [RISCV] Make SubtargetFeature description strings consistent with AssemblerPredicate.
Mostily capitalizing 'Z' for multi-letter extensions.
Added:
Modified:
llvm/lib/Target/RISCV/RISCVFeatures.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVFeatures.td b/llvm/lib/Target/RISCV/RISCVFeatures.td
index db8498c0357088..c1d1cf5d410836 100644
--- a/llvm/lib/Target/RISCV/RISCVFeatures.td
+++ b/llvm/lib/Target/RISCV/RISCVFeatures.td
@@ -67,33 +67,33 @@ def HasStdExtH : Predicate<"Subtarget->hasStdExtH()">,
def FeatureStdExtZihintpause
: SubtargetFeature<"zihintpause", "HasStdExtZihintpause", "true",
- "'zihintpause' (Pause Hint)">;
+ "'Zihintpause' (Pause Hint)">;
def HasStdExtZihintpause : Predicate<"Subtarget->hasStdExtZihintpause()">,
AssemblerPredicate<(all_of FeatureStdExtZihintpause),
"'Zihintpause' (Pause Hint)">;
def FeatureStdExtZihintntl
: SubtargetFeature<"experimental-zihintntl", "HasStdExtZihintntl", "true",
- "'zihintntl' (Non-Temporal Locality Hints)">;
+ "'Zihintntl' (Non-Temporal Locality Hints)">;
def HasStdExtZihintntl : Predicate<"Subtarget->hasStdExtZihintntl()">,
AssemblerPredicate<(all_of FeatureStdExtZihintntl),
"'Zihintntl' (Non-Temporal Locality Hints)">;
def FeatureStdExtZifencei
: SubtargetFeature<"zifencei", "HasStdExtZifencei", "true",
- "'zifencei' (fence.i)">;
+ "'Zifencei' (fence.i)">;
def HasStdExtZifencei : Predicate<"Subtarget->hasStdExtZifencei()">,
AssemblerPredicate<(all_of FeatureStdExtZifencei),
"'Zifencei' (fence.i)">;
def FeatureStdExtZicntr
: SubtargetFeature<"zicntr", "HasStdExtZicntr", "true",
- "'zicntr' (Base Counters and Timers)",
+ "'Zicntr' (Base Counters and Timers)",
[FeatureStdExtZicsr]>;
def FeatureStdExtZihpm
: SubtargetFeature<"zihpm", "HasStdExtZihpm", "true",
- "'zihpm' (Hardware Performance Counters)",
+ "'Zihpm' (Hardware Performance Counters)",
[FeatureStdExtZicsr]>;
def FeatureStdExtZfhmin
@@ -763,7 +763,7 @@ def HasVendorXTHeadVdot : Predicate<"Subtarget->hasVendorXTHeadVdot()">,
def FeatureVendorXSfvcp
: SubtargetFeature<"xsfvcp", "HasVendorXSfvcp", "true",
- "XSfvcp (SiFive Custom Vector Coprocessor Interface Instructions)",
+ "'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions)",
[FeatureStdExtZve32x]>;
def HasVendorXSfvcp : Predicate<"Subtarget->hasVendorXSfvcp()">,
AssemblerPredicate<(all_of FeatureVendorXSfvcp),
More information about the llvm-commits
mailing list