https://bugs.llvm.org/show_bug.cgi?id=43331
Bug ID: 43331
Summary: [ARM64:NEON] parentheses required for intrinsics
(breaks designated initializers)
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected]
Blocks: 4068
See: https://godbolt.org/z/_DPvSg
Since the intrinsics are implemented as macros (IIRC, gcc implements these as
static inline functions), passing designated initializers to these intrinsics
requires wrapping them in another level of parentheses. This adds a slight
headache to writing more compiler portable use of ARM NEON code.
Link: https://github.com/ClangBuiltLinux/linux/issues/641
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=4068
[Bug 4068] [Meta] Compiling the Linux kernel with clang
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs