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

Lei Huang via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 14 11:24:31 PST 2024


================
@@ -10347,6 +10347,8 @@ def err_x86_builtin_tile_arg_duplicate : Error<
 
 def err_builtin_target_unsupported : Error<
   "builtin is not supported on this target">;
+def err_builtin_aix_os_unsupported : Error<
+  "this builtin is available only on AIX 7.2 and later operating systems">;
----------------
lei137 wrote:

but line 10349 starts with "builtin is ..." better to be consistent no?

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


More information about the cfe-commits mailing list