[llvm-branch-commits] [clang] [llvm] [RISCV] Support __builtin_cpu_is (PR #116231)
Craig Topper via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Nov 14 08:37:11 PST 2024
================
@@ -508,3 +508,11 @@ bool RISCVTargetInfo::validateGlobalRegisterVariable(
}
return false;
}
+
+bool RISCVTargetInfo::validateCpuIs(StringRef CPUName) const {
+ llvm::Triple Triple = getTriple();
----------------
topperc wrote:
Unused variable in release build
https://github.com/llvm/llvm-project/pull/116231
More information about the llvm-branch-commits
mailing list