[llvm] [clang] [PowerPC][X86] Make cpu id builtins target independent and lower for PPC (PR #68919)

Nemanja Ivanovic via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 11 04:27:20 PST 2024


================
@@ -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 {
----------------
nemanjai wrote:

These are existing names that I didn't see a compelling reason to change. There may be out of tree users of these interfaces, so I opt to not change API's without a strong reason.

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


More information about the cfe-commits mailing list