[llvm] [RISC-V][RVY] Initial ISAInfo support for RVY (PR #201931)
Jessica Clarke via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 3 11:31:25 PDT 2026
================
@@ -795,6 +815,23 @@ Error RISCVISAInfo::checkDependency() {
if (Exts.count("zclsd") != 0 && Exts.count("zcf") != 0)
return getIncompatibleError("zclsd", "zcf");
+ if (Exts.count("y") != 0) {
+ if (XLen == 32) {
+ // On RVY32 systems the zclsd/zcf encodings are used for y load/stores.
+ if (Exts.count("zclsd") != 0)
+ return getBaseIncompatibleError("zclsd", "rv32y");
+ if (Exts.count("zcf") != 0)
+ return getBaseIncompatibleError("zcf", "rv32y");
+ } else {
+ // On RVY64 systems the zcd encodings are used for y load/stores.
----------------
jrtc27 wrote:
```suggestion
// On RV64Y systems the zcd encodings are used for y load/stores.
```
https://github.com/llvm/llvm-project/pull/201931
More information about the llvm-commits
mailing list