diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-08-16 02:53:29 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-08-16 02:53:29 +0000 |
commit | dcc42e2f28e64c776ae04be370f53bd320e9d6b0 (patch) | |
tree | b679896ef26355411f608045acbda202cbf86f33 | |
parent | 10ec62d2d2d6a6e4a68faf77d1c4058e40ed83f8 (diff) | |
download | external_llvm-dcc42e2f28e64c776ae04be370f53bd320e9d6b0.zip external_llvm-dcc42e2f28e64c776ae04be370f53bd320e9d6b0.tar.gz external_llvm-dcc42e2f28e64c776ae04be370f53bd320e9d6b0.tar.bz2 |
[tests] Remove an out-dated failing test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188526 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/SI/lit.local.cfg | 3 | ||||
-rw-r--r-- | test/CodeGen/SI/sanity.ll | 38 |
2 files changed, 0 insertions, 41 deletions
diff --git a/test/CodeGen/SI/lit.local.cfg b/test/CodeGen/SI/lit.local.cfg deleted file mode 100644 index 2d8930a..0000000 --- a/test/CodeGen/SI/lit.local.cfg +++ /dev/null @@ -1,3 +0,0 @@ -targets = set(config.root.targets_to_build.split()) -if not 'R600' in targets: - config.unsupported = True diff --git a/test/CodeGen/SI/sanity.ll b/test/CodeGen/SI/sanity.ll deleted file mode 100644 index 80335fb..0000000 --- a/test/CodeGen/SI/sanity.ll +++ /dev/null @@ -1,38 +0,0 @@ -;RUN: llc < %s -march=r600 -mcpu=SI | FileCheck %s -;XFAIL: * - -; CHECK: S_ENDPGM - -define void @main() { -main_body: - call void @llvm.AMDGPU.shader.type(i32 1) - %0 = load <4 x i32> addrspace(2)* addrspace(8)* inttoptr (i32 6 to <4 x i32> addrspace(2)* addrspace(8)*) - %1 = getelementptr <4 x i32> addrspace(2)* %0, i32 0 - %2 = load <4 x i32> addrspace(2)* %1 - %3 = call i32 @llvm.SI.vs.load.buffer.index() - %4 = call <4 x float> @llvm.SI.vs.load.input(<4 x i32> %2, i32 0, i32 %3) - %5 = extractelement <4 x float> %4, i32 0 - %6 = extractelement <4 x float> %4, i32 1 - %7 = extractelement <4 x float> %4, i32 2 - %8 = extractelement <4 x float> %4, i32 3 - %9 = load <4 x i32> addrspace(2)* addrspace(8)* inttoptr (i32 6 to <4 x i32> addrspace(2)* addrspace(8)*) - %10 = getelementptr <4 x i32> addrspace(2)* %9, i32 1 - %11 = load <4 x i32> addrspace(2)* %10 - %12 = call i32 @llvm.SI.vs.load.buffer.index() - %13 = call <4 x float> @llvm.SI.vs.load.input(<4 x i32> %11, i32 0, i32 %12) - %14 = extractelement <4 x float> %13, i32 0 - %15 = extractelement <4 x float> %13, i32 1 - %16 = extractelement <4 x float> %13, i32 2 - %17 = extractelement <4 x float> %13, i32 3 - call void @llvm.SI.export(i32 15, i32 0, i32 0, i32 32, i32 0, float %14, float %15, float %16, float %17) - call void @llvm.SI.export(i32 15, i32 0, i32 1, i32 12, i32 0, float %5, float %6, float %7, float %8) - ret void -} - -declare void @llvm.AMDGPU.shader.type(i32) - -declare i32 @llvm.SI.vs.load.buffer.index() readnone - -declare <4 x float> @llvm.SI.vs.load.input(<4 x i32>, i32, i32) - -declare void @llvm.SI.export(i32, i32, i32, i32, i32, float, float, float, float) |