Skip to content

Commit 2b82555

Browse files
authored
[RISCV] Remove experimental from Sdext and Sdtrig which are ratified. (#132529)
They were ratified in February 2025.
1 parent 65ee281 commit 2b82555

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

clang/test/Driver/print-supported-extensions-riscv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@
112112
// CHECK-NEXT: zvl8192b 1.0 'Zvl8192b' (Minimum Vector Length 8192)
113113
// CHECK-NEXT: zhinx 1.0 'Zhinx' (Half Float in Integer)
114114
// CHECK-NEXT: zhinxmin 1.0 'Zhinxmin' (Half Float in Integer Minimal)
115+
// CHECK-NEXT: sdext 1.0 'Sdext' (External debugger)
116+
// CHECK-NEXT: sdtrig 1.0 'Sdtrig' (Debugger triggers)
115117
// CHECK-NEXT: sha 1.0 'Sha' (Augmented Hypervisor)
116118
// CHECK-NEXT: shcounterenw 1.0 'Shcounterenw' (Support writeable hcounteren enable bit for any hpmcounter that is not read-only zero)
117119
// CHECK-NEXT: shgatpa 1.0 'Shgatpa' (SvNNx4 mode supported for all modes supported by satp, as well as Bare)
@@ -191,8 +193,6 @@
191193
// CHECK-NEXT: zvbc32e 0.7 'Zvbc32e' (Vector Carryless Multiplication with 32-bits elements)
192194
// CHECK-NEXT: zvkgs 0.7 'Zvkgs' (Vector-Scalar GCM instructions for Cryptography)
193195
// CHECK-NEXT: zvqdotq 0.0 'Zvqdotq' (Vector quad widening 4D Dot Product)
194-
// CHECK-NEXT: sdext 1.0 'Sdext' (External debugger)
195-
// CHECK-NEXT: sdtrig 1.0 'Sdtrig' (Debugger triggers)
196196
// CHECK-NEXT: smctr 1.0 'Smctr' (Control Transfer Records Machine Level)
197197
// CHECK-NEXT: ssctr 1.0 'Ssctr' (Control Transfer Records Supervisor Level)
198198
// CHECK-NEXT: svukte 0.3 'Svukte' (Address-Independent Latency of User-Mode Faults to Supervisor Addresses)

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
@@ -316,8 +316,8 @@
316316
; RUN: llc -mtriple=riscv64 -mattr=+supm %s -o - | FileCheck --check-prefix=RV64SUPM %s
317317
; RUN: llc -mtriple=riscv64 -mattr=+experimental-smctr %s -o - | FileCheck --check-prefix=RV64SMCTR %s
318318
; RUN: llc -mtriple=riscv64 -mattr=+experimental-ssctr %s -o - | FileCheck --check-prefix=RV64SSCTR %s
319-
; RUN: llc -mtriple=riscv64 -mattr=+experimental-sdext %s -o - | FileCheck --check-prefix=RV64SDEXT %s
320-
; RUN: llc -mtriple=riscv64 -mattr=+experimental-sdtrig %s -o - | FileCheck --check-prefix=RV64SDTRIG %s
319+
; RUN: llc -mtriple=riscv64 -mattr=+sdext %s -o - | FileCheck --check-prefix=RV64SDEXT %s
320+
; RUN: llc -mtriple=riscv64 -mattr=+sdtrig %s -o - | FileCheck --check-prefix=RV64SDTRIG %s
321321
; RUN: llc -mtriple=riscv64 -mattr=+experimental-xqccmp %s -o - | FileCheck --check-prefix=RV64XQCCMP %s
322322

323323

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
; CHECK-NEXT: experimental - Experimental intrinsics.
1818
; CHECK-NEXT: experimental-p - 'P' ('Base P' (Packed SIMD)).
1919
; CHECK-NEXT: experimental-rvm23u32 - RISC-V experimental-rvm23u32 profile.
20-
; CHECK-NEXT: experimental-sdext - 'Sdext' (External debugger).
21-
; CHECK-NEXT: experimental-sdtrig - 'Sdtrig' (Debugger triggers).
2220
; CHECK-NEXT: experimental-smctr - 'Smctr' (Control Transfer Records Machine Level).
2321
; CHECK-NEXT: experimental-ssctr - 'Ssctr' (Control Transfer Records Supervisor Level).
2422
; CHECK-NEXT: experimental-svukte - 'Svukte' (Address-Independent Latency of User-Mode Faults to Supervisor Addresses).
@@ -115,6 +113,8 @@
115113
; CHECK-NEXT: rvi20u32 - RISC-V rvi20u32 profile.
116114
; CHECK-NEXT: rvi20u64 - RISC-V rvi20u64 profile.
117115
; CHECK-NEXT: save-restore - Enable save/restore..
116+
; CHECK-NEXT: sdext - 'Sdext' (External debugger).
117+
; CHECK-NEXT: sdtrig - 'Sdtrig' (Debugger triggers).
118118
; CHECK-NEXT: sha - 'Sha' (Augmented Hypervisor).
119119
; CHECK-NEXT: shcounterenw - 'Shcounterenw' (Support writeable hcounteren enable bit for any hpmcounter that is not read-only zero).
120120
; CHECK-NEXT: 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
@@ -1065,6 +1065,8 @@ R"(All available -march extensions for RISC-V
10651065
zvl8192b 1.0
10661066
zhinx 1.0
10671067
zhinxmin 1.0
1068+
sdext 1.0
1069+
sdtrig 1.0
10681070
sha 1.0
10691071
shcounterenw 1.0
10701072
shgatpa 1.0
@@ -1144,8 +1146,6 @@ Experimental extensions
11441146
zvbc32e 0.7
11451147
zvkgs 0.7
11461148
zvqdotq 0.0
1147-
sdext 1.0
1148-
sdtrig 1.0
11491149
smctr 1.0
11501150
ssctr 1.0
11511151
svukte 0.3

0 commit comments

Comments
 (0)