[llvm-dev] [ARM] [NEON] Changes to the vld and vst intrinsics

Jeroen Ketema via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 28 10:12:05 PDT 2015

Dear all,

This is a heads-up regarding a change in the definition of the ARM neon 
vld and vst intrinsics, mostly to solicit whether there are any 
objections to this change.

The following patches:


change the interface of the vld[1234], vld[234]lane, and vst[1234], 
vst[234]lane ARM neon intrinsics and associate an address space with the 
pointer that these intrinsics take.  This changed, for example,

<2 x i32> @llvm.arm.neon.vld1.v2i32(i8*, i32)

is changed to

<2 x i32> @llvm.arm.neon.vld1.v2i32.p0i8(i8*, i32)

This resolves an issue in the ARM Target where address spaces were only 
partially taken into account during lowering of interleaved loads and 
stores (see D12985 for further discussion).

As asked above, would there be any objection to making this change? Note 
that the change does to alter the intrinsics exposed by clang, as before 
only the address space 0 versions of the intrinsics are exposed.



Jeroen Ketema
Senior Software Engineer, Compilers
Codeplay Software Ltd.
45 York Place, Edinburgh, EH1 3HP
Tel: 0131 466 0503
Fax: 0131 557 6600
Website: http://www.codeplay.com
Twitter: https://twitter.com/codeplaysoft

This email and any attachments may contain confidential and /or privileged
information and is for use by the addressee only. If you are not the intended
recipient, please notify Codeplay Software Ltd immediately and delete the message
from your computer. You may not copy or forward it,or use or disclose its contents
to any other person. Any views or other information in this message which do not
relate to our business are not authorized by Codeplay software Ltd, nor does this
message form part of any contract unless so stated.

As internet communications are capable of data corruption Codeplay Software Ltd does
not accept any responsibility for any changes made to this message after it was
sent. Please note that Codeplay Software Ltd does not accept any liability or
responsibility for viruses and it is your responsibility to scan any attachments.

Company registered in England and Wales, number: 04567874
Registered office: 81 Linkfield Street, Redhill RH1 6BY

More information about the llvm-dev mailing list