[clang] [llvm] [PowerPC][X86] Make cpu id builtins target independent and lower for PPC (PR #68919)
Amy Kwan via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 13 08:08:23 PST 2023
================
@@ -873,3 +873,17 @@ ArrayRef<Builtin::Info> PPCTargetInfo::getTargetBuiltins() const {
return llvm::ArrayRef(BuiltinInfo,
clang::PPC::LastTSBuiltin - Builtin::FirstTSBuiltin);
}
+
+bool PPCTargetInfo::validateCpuSupports(StringRef FeatureStr) const {
----------------
amy-kwan wrote:
Should this be `CPU` instead of `Cpu` for both of these validate functions?
https://github.com/llvm/llvm-project/pull/68919
More information about the cfe-commits
mailing list