Skip to content

Commit 3b30343

Browse files
committed
[RISCV] Remove experimental from Sdext and Sdtrig which are ratified.
They were ratified in February 2025.
1 parent 597accf commit 3b30343

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

llvm/lib/Target/RISCV/RISCVFeatures.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,9 +869,9 @@ def HasStdExtH : Predicate<"Subtarget->hasStdExtH()">,
869869

870870
// Supervisor extensions
871871

872-
def FeatureStdExtSdext : RISCVExperimentalExtension<1, 0, "External debugger">;
872+
def FeatureStdExtSdext : RISCVExtension<1, 0, "External debugger">;
873873

874-
def FeatureStdExtSdtrig : RISCVExperimentalExtension<1, 0, "Debugger triggers">;
874+
def FeatureStdExtSdtrig : RISCVExtension<1, 0, "Debugger triggers">;
875875

876876
def FeatureStdExtShgatpa
877877
: RISCVExtension<1, 0,

llvm/test/CodeGen/RISCV/attributes.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@
311311
; RUN: llc -mtriple=riscv64 -mattr=+supm %s -o - | FileCheck --check-prefix=RV64SUPM %s
312312
; RUN: llc -mtriple=riscv64 -mattr=+experimental-smctr %s -o - | FileCheck --check-prefix=RV64SMCTR %s
313313
; RUN: llc -mtriple=riscv64 -mattr=+experimental-ssctr %s -o - | FileCheck --check-prefix=RV64SSCTR %s
314-
; RUN: llc -mtriple=riscv64 -mattr=+experimental-sdext %s -o - | FileCheck --check-prefix=RV64SDEXT %s
315-
; RUN: llc -mtriple=riscv64 -mattr=+experimental-sdtrig %s -o - | FileCheck --check-prefix=RV64SDTRIG %s
314+
; RUN: llc -mtriple=riscv64 -mattr=+sdext %s -o - | FileCheck --check-prefix=RV64SDEXT %s
315+
; RUN: llc -mtriple=riscv64 -mattr=+sdtrig %s -o - | FileCheck --check-prefix=RV64SDTRIG %s
316316
; RUN: llc -mtriple=riscv64 -mattr=+experimental-xqccmp %s -o - | FileCheck --check-prefix=RV64XQCCMP %s
317317

318318

llvm/test/CodeGen/RISCV/features-info.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
; CHECK: e - 'E' (Embedded Instruction Set with 16 GPRs).
1616
; CHECK: experimental - Experimental intrinsics.
1717
; CHECK: experimental-rvm23u32 - RISC-V experimental-rvm23u32 profile.
18-
; CHECK: experimental-sdext - 'Sdext' (External debugger).
19-
; CHECK: experimental-sdtrig - 'Sdtrig' (Debugger triggers).
2018
; CHECK: experimental-smctr - 'Smctr' (Control Transfer Records Machine Level).
2119
; CHECK: experimental-ssctr - 'Ssctr' (Control Transfer Records Supervisor Level).
2220
; CHECK: experimental-svukte - 'Svukte' (Address-Independent Latency of User-Mode Faults to Supervisor Addresses).
@@ -96,6 +94,8 @@
9694
; CHECK: rvi20u32 - RISC-V rvi20u32 profile.
9795
; CHECK: rvi20u64 - RISC-V rvi20u64 profile.
9896
; CHECK: save-restore - Enable save/restore..
97+
; CHECK: sdext - 'Sdext' (External debugger).
98+
; CHECK: sdtrig - 'Sdtrig' (Debugger triggers).
9999
; CHECK: sha - 'Sha' (Augmented Hypervisor).
100100
; CHECK: shcounterenw - 'Shcounterenw' (Support writeable hcounteren enable bit for any hpmcounter that is not read-only zero).
101101
; CHECK: shgatpa - 'Shgatpa' (SvNNx4 mode supported for all modes supported by satp, as well as Bare).

llvm/unittests/TargetParser/RISCVISAInfoTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,6 +1058,8 @@ R"(All available -march extensions for RISC-V
10581058
zvl8192b 1.0
10591059
zhinx 1.0
10601060
zhinxmin 1.0
1061+
sdext 1.0
1062+
sdtrig 1.0
10611063
sha 1.0
10621064
shcounterenw 1.0
10631065
shgatpa 1.0
@@ -1137,8 +1139,6 @@ Experimental extensions
11371139
zvbc32e 0.7
11381140
zvkgs 0.7
11391141
zvqdotq 0.0
1140-
sdext 1.0
1141-
sdtrig 1.0
11421142
smctr 1.0
11431143
ssctr 1.0
11441144
svukte 0.3

0 commit comments

Comments
 (0)