Skip to content

Commit 2e78c22

Browse files
authored
[RISCV] Simplify the description for ssaia and smaia. (#77870)
It feels more important to expand out Advanced Interrupt Architecture for users than to have a description that explains how one extension is different from the other.
1 parent 7e60448 commit 2e78c22

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

llvm/lib/Target/RISCV/RISCVFeatures.td

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -711,16 +711,13 @@ def NoHasStdExtZicfiss : Predicate<"!Subtarget->hasStdExtZicfiss()">;
711711

712712
def FeatureStdExtSmaia
713713
: SubtargetFeature<"smaia", "HasStdExtSmaia", "true",
714-
"'Smaia' (Smaia encompasses all added CSRs and all "
715-
"modifications to interrupt response behavior that the "
716-
"AIA specifies for a hart, over all privilege levels.)",
717-
[]>;
714+
"'Smaia' (Advanced Interrupt Architecture Machine "
715+
"Level)", []>;
718716

719717
def FeatureStdExtSsaia
720718
: SubtargetFeature<"ssaia", "HasStdExtSsaia", "true",
721-
"'Ssaia' (Ssaia is essentially the same as Smaia except "
722-
"excluding the machine-level CSRs and behavior not "
723-
"directly visible to supervisor level.)", []>;
719+
"'Ssaia' (Advanced Interrupt Architecture Supervisor "
720+
"Level)", []>;
724721

725722
def HasHalfFPLoadStoreMove
726723
: Predicate<"Subtarget->hasHalfFPLoadStoreMove()">,

0 commit comments

Comments
 (0)