[llvm] [RISCV] RVA23S64 should include H extension (PR #115572)

via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 16:33:02 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-risc-v

Author: Petr Penzin (ppenzin)

<details>
<summary>Changes</summary>

RVA23 defines Hypervisor (H) extension to be required for RVA23S64:

https://drive.google.com/file/d/12QKRm92cLcEk8-5J9NI91m0fAQOxqNAq/view?usp=sharing

---
Full diff: https://github.com/llvm/llvm-project/pull/115572.diff


1 Files Affected:

- (modified) llvm/lib/Target/RISCV/RISCVProfiles.td (+2-1) 


``````````diff
diff --git a/llvm/lib/Target/RISCV/RISCVProfiles.td b/llvm/lib/Target/RISCV/RISCVProfiles.td
index cbf2a2eddf38ed..a2bedb4be83567 100644
--- a/llvm/lib/Target/RISCV/RISCVProfiles.td
+++ b/llvm/lib/Target/RISCV/RISCVProfiles.td
@@ -77,7 +77,8 @@ defvar RVA23U64Features = !listconcat(RVA22U64Features,
                                        FeatureStdExtSupm]);
 
 defvar RVA23S64BaseFeatures = !listconcat(RVA22S64BaseFeatures,
-                                          [FeatureStdExtSvnapot,
+                                          [FeatureStdExtH,
+                                           FeatureStdExtSvnapot,
                                            FeatureStdExtSstc,
                                            FeatureStdExtSscofpmf,
                                            FeatureStdExtSsnpm,

``````````

</details>


https://github.com/llvm/llvm-project/pull/115572


More information about the llvm-commits mailing list