[clang] [FMV][AIX] Implement target_clones (PR #177428)
zhijian lin via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 17 11:03:02 PST 2026
================
@@ -217,8 +197,36 @@ Value *CodeGenFunction::EmitPPCBuiltinExpr(unsigned BuiltinID,
#undef PPC_FAWORD_HWCAP
#undef PPC_FAWORD_HWCAP2
#undef PPC_FAWORD_CPUID
- }
+ } else
+ assert(0 && "unexpected builtin");
----------------
diggerlin wrote:
suggest that moving the assert to begin of the function , it is more readable.
https://github.com/llvm/llvm-project/pull/177428
More information about the cfe-commits
mailing list