Skip to content

Commit 8cd9561

Browse files
authored
[RISCV] Update descriptions for Zvk* shorthands. (#77961)
This makes them more consistent with other extensions so they appear move similar in the -print-supported-extensions output.
1 parent 882b4fc commit 8cd9561

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

llvm/lib/Target/RISCV/RISCVFeatures.td

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -637,40 +637,36 @@ def FeatureStdExtZvkt
637637

638638
def FeatureStdExtZvkn
639639
: SubtargetFeature<"zvkn", "HasStdExtZvkn", "true",
640-
"This extension is shorthand for the following set of "
641-
"other extensions: Zvkned, Zvknhb, Zvkb and Zvkt.",
640+
"'Zvkn' (shorthand for 'Zvkned', 'Zvknhb', 'Zvkb', and "
641+
"'Zvkt')",
642642
[FeatureStdExtZvkned, FeatureStdExtZvknhb,
643643
FeatureStdExtZvkb, FeatureStdExtZvkt]>;
644644

645645
def FeatureStdExtZvknc
646646
: SubtargetFeature<"zvknc", "HasStdExtZvknc", "true",
647-
"This extension is shorthand for the following set of "
648-
"other extensions: Zvkn and Zvbc.",
647+
"'Zvknc' (shorthand for 'Zvknc' and 'Zvbc')",
649648
[FeatureStdExtZvkn, FeatureStdExtZvbc]>;
650649

651650
def FeatureStdExtZvkng
652651
: SubtargetFeature<"zvkng", "HasStdExtZvkng", "true",
653-
"This extension is shorthand for the following set of "
654-
"other extensions: Zvkn and Zvkg.",
652+
"'zvkng' (shorthand for 'Zvkn' and 'Zvkg')",
655653
[FeatureStdExtZvkn, FeatureStdExtZvkg]>;
656654

657655
def FeatureStdExtZvks
658656
: SubtargetFeature<"zvks", "HasStdExtZvks", "true",
659-
"This extension is shorthand for the following set of "
660-
"other extensions: Zvksed, Zvksh, Zvkb and Zvkt.",
657+
"'Zvks' (shorthand for 'Zvksed', 'Zvksh', 'Zvkb', and "
658+
"'Zvkt')",
661659
[FeatureStdExtZvksed, FeatureStdExtZvksh,
662660
FeatureStdExtZvkb, FeatureStdExtZvkt]>;
663661

664662
def FeatureStdExtZvksc
665663
: SubtargetFeature<"zvksc", "HasStdExtZvksc", "true",
666-
"This extension is shorthand for the following set of "
667-
"other extensions: Zvks and Zvbc.",
664+
"'Zvksc' (shorthand for 'Zvks' and 'Zvbc')",
668665
[FeatureStdExtZvks, FeatureStdExtZvbc]>;
669666

670667
def FeatureStdExtZvksg
671668
: SubtargetFeature<"zvksg", "HasStdExtZvksg", "true",
672-
"This extension is shorthand for the following set of "
673-
"other extensions: Zvks and Zvkg.",
669+
"'Zvksg' (shorthand for 'Zvks' and 'Zvkg')",
674670
[FeatureStdExtZvks, FeatureStdExtZvkg]>;
675671

676672
def FeatureStdExtZicfilp

0 commit comments

Comments
 (0)