diff options
author | tstellar <tstellar@91177308-0d34-0410-b5e6-96231b3b80d8> | 2012-10-09 18:48:59 +0000 |
---|---|---|
committer | tstellar <tstellar@91177308-0d34-0410-b5e6-96231b3b80d8> | 2012-10-09 18:48:59 +0000 |
commit | 128c23dfcebe226ec06de428c4fe9e112b998db8 (patch) | |
tree | a1b0da9d3570ab24c4c3a8f3db2eacf0a06d4d67 /test | |
parent | 2ecb446d4a84ad5bbd19814596481a69ed389602 (diff) |
R600: Add store v4i32 test
This was supposed to be committed with:
"R600: Add support for v4i32 global stores"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/R600/@165523 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/R600/store.v4i32.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/R600/store.v4i32.ll b/test/CodeGen/R600/store.v4i32.ll new file mode 100644 index 0000000000..a659815dde --- /dev/null +++ b/test/CodeGen/R600/store.v4i32.ll @@ -0,0 +1,9 @@ +;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s + +;CHECK: RAT_WRITE_CACHELESS_128 T{{[0-9]+\.XYZW, T[0-9]+\.X}}, 1 + +define void @test(<4 x i32> addrspace(1)* %out, <4 x i32> addrspace(1)* %in) { + %1 = load <4 x i32> addrspace(1) * %in + store <4 x i32> %1, <4 x i32> addrspace(1)* %out + ret void +} |