[clang] [llvm] [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 25 11:29:28 PST 2024
================
@@ -359,6 +359,13 @@ class LLVM_LIBRARY_VISIBILITY PPCTargetInfo : public TargetInfo {
bool isSPRegName(StringRef RegName) const override {
return RegName.equals("r1") || RegName.equals("x1");
}
+
+ // We support __builtin_cpu_supports/__builtin_cpu_is on targets that
----------------
nemanjai wrote:
We can certainly expand this in a follow-up patch, but since I don't really have a way to do any functional testing on a musl machine, I'll leave it out of this patch.
https://github.com/llvm/llvm-project/pull/68919
More information about the cfe-commits
mailing list