[clang] [RISCV] Make RequiredExtensions for intrinsics scalable to more than 32 extensions. NFC (PR #132895)

Pengcheng Wang via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 25 00:51:51 PDT 2025


================
@@ -45,7 +45,7 @@ struct SemaRecord {
   unsigned Log2LMULMask;
 
   // Required extensions for this intrinsic.
-  uint32_t RequiredExtensions;
+  uint32_t RequiredExtensions[(RVV_REQ_Experimental + 31) / 32];
----------------
wangpc-pp wrote:

RVV_REQ_Experimental->RVV_REQ_NUM?

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


More information about the cfe-commits mailing list