================
@@ -165,6 +165,8 @@ def : SysReg<"scause", 0x142>;
def : SysReg<"stval", 0x143>;
def : DeprecatedSysRegName<"sbadaddr", 0x143>;
def : SysReg<"sip", 0x144>;
+let FeaturesRequired = [{ {RISCV::FeatureStdExtSscsps} }] in
+def : SysReg<"sspcs", 0x149>;
----------------
lenary wrote:
The convention for system registers is to only set `FeaturesRequired` for
vendor extensions, looking at what we've done so far.
```suggestion
def : SysReg<"sspcs", 0x149>;
```
https://github.com/llvm/llvm-project/pull/211712
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits