[clang] [llvm] [RISC-V] Make EmitRISCVCpuSupports accept multiple features (PR #104917)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 10:01:58 PDT 2024


================
@@ -32,6 +32,8 @@ struct RISCVExtensionBitmask {
 };
 } // namespace RISCVExtensionBitmaskTable
 
+static constexpr unsigned RISCVFeatureBitSize = 2;
----------------
topperc wrote:

Maybe this should be a static member of RISCVISAInfo because that's where `getRISCVFeaturesBitsInfo` lives?

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


More information about the llvm-commits mailing list