[clang] [compiler-rt] [llvm] [RISCV] Support new groupid/bitmask for cpu_model (PR #101632)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 18:51:31 PDT 2024
================
@@ -334,6 +354,8 @@ int test_riscv(int a) {
return 7;
else if (__builtin_cpu_supports("v"))
return 11;
+ else if (__builtin_cpu_supports("zcb"))
+ return 11;
----------------
topperc wrote:
Pick a different number than 11 since it was already used for `v`
https://github.com/llvm/llvm-project/pull/101632
More information about the llvm-commits
mailing list