]> granicus.if.org Git - clang/commit
[ARM][NEON] Use address space in vld([1234]|[234]lane) and vst([1234]|[234]lane)...
authorJeroen Ketema <j.ketema@imperial.ac.uk>
Wed, 30 Sep 2015 10:56:56 +0000 (10:56 +0000)
committerJeroen Ketema <j.ketema@imperial.ac.uk>
Wed, 30 Sep 2015 10:56:56 +0000 (10:56 +0000)
commit6217bda81e913672675b5833d09ed8217942d7ee
treed2cb3814e08fe2f35906f8aa911fb4851299dc0f
parent64890837287cf66e92bccc0598ee9e092b3dc3d7
[ARM][NEON] Use address space in vld([1234]|[234]lane) and vst([1234]|[234]lane) instructions

This is the clang commit associated with llvm r248887.

This commit changes the interface of the vld[1234], vld[234]lane, and vst[1234],
vst[234]lane ARM neon intrinsics and associates an address space with the
pointer that these intrinsics take. This changes, e.g.,

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

to

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

This change ensures that address spaces are fully taken into account in the ARM
target during lowering of interleaved loads and stores.

Differential Revision: http://reviews.llvm.org/D13127

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248888 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/arm-neon-misc.c
test/CodeGen/arm-vector-align.c
test/CodeGen/vld_dup.c