diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-08-26 15:05:55 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-08-26 15:05:55 +0000 |
commit | c52565157d23c7b8a374b74044a5458ea67d6cb5 (patch) | |
tree | 2e11112a1cd1620394c6763dd90420cdbaf019ea /test/CodeGen/R600/store.ll | |
parent | 8e78012457682d335ee97cf2859dfe03b7e2ae93 (diff) | |
download | external_llvm-c52565157d23c7b8a374b74044a5458ea67d6cb5.zip external_llvm-c52565157d23c7b8a374b74044a5458ea67d6cb5.tar.gz external_llvm-c52565157d23c7b8a374b74044a5458ea67d6cb5.tar.bz2 |
SelectionDAG: Use correct pointer size when splitting vector stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/R600/store.ll')
-rw-r--r-- | test/CodeGen/R600/store.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CodeGen/R600/store.ll b/test/CodeGen/R600/store.ll index 50c91b4..2609dab 100644 --- a/test/CodeGen/R600/store.ll +++ b/test/CodeGen/R600/store.ll @@ -202,6 +202,21 @@ entry: ret void } +; EG-CHECK: @store_local_v4i8 +; EG-CHECK: LDS_WRITE +; CM-CHECK: @store_local_v4i8 +; CM-CHECK: LDS_WRITE +; SI-CHECK: @store_local_v4i8 +; SI-CHECK: DS_WRITE_B8 +; SI-CHECK: DS_WRITE_B8 +; SI-CHECK: DS_WRITE_B8 +; SI-CHECK: DS_WRITE_B8 +define void @store_local_v4i8(<4 x i8> addrspace(3)* %out, <4 x i8> %in) { +entry: + store <4 x i8> %in, <4 x i8> addrspace(3)* %out + ret void +} + ; EG-CHECK: @store_local_v2i32 ; EG-CHECK: LDS_WRITE ; EG-CHECK: LDS_WRITE |