[clang] [llvm] [AIX] support builtin_cpu_is() for aix (PR #80069)
Nemanja Ivanovic via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 8 11:28:59 PST 2024
================
@@ -16542,22 +16542,75 @@ Value *CodeGenFunction::EmitPPCBuiltinExpr(unsigned BuiltinID,
Intrinsic::ID ID = Intrinsic::not_intrinsic;
+#include "llvm/TargetParser/PPCTargetParser.def"
----------------
nemanjai wrote:
This is getting a bit tangled. Can you please provide two static functions:
`EmitPPCAIXCpuIDFunc(...), EmitPPCLinuxCpuIDFunc(...)` and just call the right one from here.
https://github.com/llvm/llvm-project/pull/80069
More information about the cfe-commits
mailing list