From de481a4aa3bb5388783572001598417ea184c03b Mon Sep 17 00:00:00 2001 From: tstellar Date: Mon, 24 Sep 2012 15:52:47 +0000 Subject: R600: Add support for v4f32 stores on R600 git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/R600/@164535 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/R600/store.v4f32.ll | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/CodeGen/R600/store.v4f32.ll (limited to 'test') diff --git a/test/CodeGen/R600/store.v4f32.ll b/test/CodeGen/R600/store.v4f32.ll new file mode 100644 index 00000000000..8b0d2444597 --- /dev/null +++ b/test/CodeGen/R600/store.v4f32.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 float> addrspace(1)* %out, <4 x float> addrspace(1)* %in) { + %1 = load <4 x float> addrspace(1) * %in + store <4 x float> %1, <4 x float> addrspace(1)* %out + ret void +} -- cgit v1.2.3