[llvm-dev] [RFC] Enable "#pragma omp declare simd" in the LoopVectorizer

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Mon Dec 12 06:32:06 PST 2016


)On 12 December 2016 at 13:44, Francesco Petrogalli
<Francesco.Petrogalli at arm.com> wrote:
> I am using ā€œDā€ for 64-bit NEON and ā€œQā€ for 128-bit NEON, which makes NEON
> vector symbols look as follows:
>
> _ZVGQN2v__Z1fd
> _ZVGDN2v__Z1ff
> _ZVGQN4v__Z1ff

Hi Francesco,

The ARM AAPCS (A.2.1) says:

"For C++ the mangled name for parameters is as though the equivalent
type name was used."

Clang is already able to mangle NEON vectors of any length
(CXXNameMangler::mangleNeonVectorType), you should use that, as this
is very likely to be compatible with other compilers as well.

cheers,
--renato


More information about the llvm-dev mailing list