[clang] [llvm] [AIX] support builtin_cpu_is() for aix (PR #80069)

zhijian lin via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 12 08:04:55 PST 2024


================
@@ -16542,22 +16542,75 @@ Value *CodeGenFunction::EmitPPCBuiltinExpr(unsigned BuiltinID,
 
   Intrinsic::ID ID = Intrinsic::not_intrinsic;
 
+#include "llvm/TargetParser/PPCTargetParser.def"
----------------
diggerlin wrote:

I think the function is too short, It not worth to have a two separate static functions.  and I reorganize  the code in other way.

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


More information about the cfe-commits mailing list