[llvm-bugs] [Bug 43331] New: [ARM64:NEON] parentheses required for intrinsics (breaks designated initializers)
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Sep 16 10:50:25 PDT 2019
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: unassignedclangbugs at nondot.org
Reporter: ndesaulniers at google.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, kristof.beyls at arm.com,
llvm-bugs at lists.llvm.org, oliver.stannard at arm.com,
richard-llvm at metafoo.co.uk
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190916/2564fcba/attachment.html>
More information about the llvm-bugs
mailing list