[compiler-rt] [RISCV][compiler-rt] Small fixes for __riscv_feature_bits (PR #99958)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 15:23:18 PDT 2024


================
@@ -277,11 +275,21 @@ static void initRISCVFeature(struct riscv_hwprobe Hwprobes[]) {
 
 static int FeaturesBitCached = 0;
 
-void __init_riscv_feature_bits() {
+void __init_riscv_feature_bits() CONSTRUCTOR_ATTRIBUTE;
+
+// A constructor function that is sets __riscv_feature_bits, and
----------------
topperc wrote:

"is sets" -> "sets"?

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


More information about the llvm-commits mailing list