[PATCH] D104386: [PowerPC][Builtins] Added a number of builtins for compatibility with XL.
Dimitry Andric via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 31 15:08:19 PDT 2021
dim added a comment.
Just encountered another similar error, apparently introduced in rGc8937b6cb9751807de1e69f0f0f70a9a58f8f5dc <https://reviews.llvm.org/rGc8937b6cb9751807de1e69f0f0f70a9a58f8f5dc> (as more additions to the `defineXLCompatMacros` function, by @lei):
In file included from /home/dim/src/llvm-13-update/lib/msun/powerpc/fenv.c:32:
/home/dim/src/llvm-13-update/lib/msun/powerpc/fenv.h:114:9: error: '__mtfsf' macro redefined [-Werror,-Wmacro-redefined]
#define __mtfsf(__env) \
^
<built-in>:375:9: note: previous definition is here
#define __mtfsf __builtin_ppc_mtfsf
^
1 error generated.
To unblock my builds, I'm just going to use `-U` to undef these macros manually for now...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104386/new/
https://reviews.llvm.org/D104386
More information about the cfe-commits
mailing list