Revert "test/CodeGen/R600: Add some basic tests v6"
authorTom Stellard <thomas.stellard@amd.com>
Mon, 16 Jul 2012 18:19:43 +0000 (18:19 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 16 Jul 2012 18:19:43 +0000 (18:19 +0000)
This reverts commit 11d3457afcda7848448dd7f11b2ede6552ffb9ea.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160300 91177308-0d34-0410-b5e6-96231b3b80d8

27 files changed:
test/CodeGen/R600/fadd.ll [deleted file]
test/CodeGen/R600/fadd.ll.check [deleted file]
test/CodeGen/R600/fmul.ll [deleted file]
test/CodeGen/R600/fmul.ll.check [deleted file]
test/CodeGen/R600/fsub.ll [deleted file]
test/CodeGen/R600/fsub.ll.check [deleted file]
test/CodeGen/R600/lit.local.cfg [deleted file]
test/CodeGen/R600/llvm.AMDGPU.cos.ll [deleted file]
test/CodeGen/R600/llvm.AMDGPU.cos.ll.check [deleted file]
test/CodeGen/R600/llvm.AMDGPU.floor.ll [deleted file]
test/CodeGen/R600/llvm.AMDGPU.floor.ll.check [deleted file]
test/CodeGen/R600/llvm.AMDGPU.mul.ll [deleted file]
test/CodeGen/R600/llvm.AMDGPU.mul.ll.check [deleted file]
test/CodeGen/R600/llvm.AMDGPU.pow.ll [deleted file]
test/CodeGen/R600/llvm.AMDGPU.pow.ll.check [deleted file]
test/CodeGen/R600/llvm.AMDGPU.rcp.ll [deleted file]
test/CodeGen/R600/llvm.AMDGPU.rcp.ll.check [deleted file]
test/CodeGen/R600/llvm.AMDGPU.sin.ll [deleted file]
test/CodeGen/R600/llvm.AMDGPU.sin.ll.check [deleted file]
test/CodeGen/R600/llvm.AMDGPU.trunc.ll [deleted file]
test/CodeGen/R600/llvm.AMDGPU.trunc.ll.check [deleted file]
test/CodeGen/R600/llvm.AMDIL.fabs..ll [deleted file]
test/CodeGen/R600/llvm.AMDIL.fabs..ll.check [deleted file]
test/CodeGen/R600/llvm.AMDIL.max..ll [deleted file]
test/CodeGen/R600/llvm.AMDIL.max..ll.check [deleted file]
test/CodeGen/R600/llvm.AMDIL.min..ll [deleted file]
test/CodeGen/R600/llvm.AMDIL.min..ll.check [deleted file]

diff --git a/test/CodeGen/R600/fadd.ll b/test/CodeGen/R600/fadd.ll
deleted file mode 100644 (file)
index 874fcc6..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | diff %s.check -
-
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.R600.load.input(i32 1)
-   %r2 = fadd float %r0, %r1
-   call void @llvm.AMDGPU.store.output(float %r2, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
diff --git a/test/CodeGen/R600/fadd.ll.check b/test/CodeGen/R600/fadd.ll.check
deleted file mode 100644 (file)
index 886082f..0000000
Binary files a/test/CodeGen/R600/fadd.ll.check and /dev/null differ
diff --git a/test/CodeGen/R600/fmul.ll b/test/CodeGen/R600/fmul.ll
deleted file mode 100644 (file)
index 28bc4d8..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | diff %s.check -
-
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.R600.load.input(i32 1)
-   %r2 = fmul float %r0, %r1
-   call void @llvm.AMDGPU.store.output(float %r2, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
diff --git a/test/CodeGen/R600/fmul.ll.check b/test/CodeGen/R600/fmul.ll.check
deleted file mode 100644 (file)
index 9ba36cc..0000000
Binary files a/test/CodeGen/R600/fmul.ll.check and /dev/null differ
diff --git a/test/CodeGen/R600/fsub.ll b/test/CodeGen/R600/fsub.ll
deleted file mode 100644 (file)
index 8e43128..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | diff %s.check -
-
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.R600.load.input(i32 1)
-   %r2 = fsub float %r0, %r1
-   call void @llvm.AMDGPU.store.output(float %r2, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
diff --git a/test/CodeGen/R600/fsub.ll.check b/test/CodeGen/R600/fsub.ll.check
deleted file mode 100644 (file)
index 7999354..0000000
Binary files a/test/CodeGen/R600/fsub.ll.check and /dev/null differ
diff --git a/test/CodeGen/R600/lit.local.cfg b/test/CodeGen/R600/lit.local.cfg
deleted file mode 100644 (file)
index 79fc2ba..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-targets = set(root.targets_to_build.split())
-if not 'AMDGPU' in targets:
-    config.unsupported = True
-
diff --git a/test/CodeGen/R600/llvm.AMDGPU.cos.ll b/test/CodeGen/R600/llvm.AMDGPU.cos.ll
deleted file mode 100644 (file)
index 8db9563..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | diff %s.check -
-
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.AMDGPU.cos( float %r0)
-   call void @llvm.AMDGPU.store.output(float %r1, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
-declare float @llvm.AMDGPU.cos(float ) readnone
diff --git a/test/CodeGen/R600/llvm.AMDGPU.cos.ll.check b/test/CodeGen/R600/llvm.AMDGPU.cos.ll.check
deleted file mode 100644 (file)
index ef1389b..0000000
Binary files a/test/CodeGen/R600/llvm.AMDGPU.cos.ll.check and /dev/null differ
diff --git a/test/CodeGen/R600/llvm.AMDGPU.floor.ll b/test/CodeGen/R600/llvm.AMDGPU.floor.ll
deleted file mode 100644 (file)
index 729a783..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | diff %s.check -
-
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.AMDGPU.floor( float %r0)
-   call void @llvm.AMDGPU.store.output(float %r1, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
-declare float @llvm.AMDGPU.floor(float ) readnone
diff --git a/test/CodeGen/R600/llvm.AMDGPU.floor.ll.check b/test/CodeGen/R600/llvm.AMDGPU.floor.ll.check
deleted file mode 100644 (file)
index 324c10d..0000000
Binary files a/test/CodeGen/R600/llvm.AMDGPU.floor.ll.check and /dev/null differ
diff --git a/test/CodeGen/R600/llvm.AMDGPU.mul.ll b/test/CodeGen/R600/llvm.AMDGPU.mul.ll
deleted file mode 100644 (file)
index 3c995c9..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | diff %s.check -
-
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.R600.load.input(i32 1)
-   %r2 = call float @llvm.AMDGPU.mul( float %r0, float %r1)
-   call void @llvm.AMDGPU.store.output(float %r2, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
-declare float @llvm.AMDGPU.mul(float ,float ) readnone
diff --git a/test/CodeGen/R600/llvm.AMDGPU.mul.ll.check b/test/CodeGen/R600/llvm.AMDGPU.mul.ll.check
deleted file mode 100644 (file)
index 0a79cba..0000000
Binary files a/test/CodeGen/R600/llvm.AMDGPU.mul.ll.check and /dev/null differ
diff --git a/test/CodeGen/R600/llvm.AMDGPU.pow.ll b/test/CodeGen/R600/llvm.AMDGPU.pow.ll
deleted file mode 100644 (file)
index b692081..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | diff %s.check -
-
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.R600.load.input(i32 1)
-   %r2 = call float @llvm.AMDGPU.pow( float %r0, float %r1)
-   call void @llvm.AMDGPU.store.output(float %r2, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
-declare float @llvm.AMDGPU.pow(float ,float ) readnone
diff --git a/test/CodeGen/R600/llvm.AMDGPU.pow.ll.check b/test/CodeGen/R600/llvm.AMDGPU.pow.ll.check
deleted file mode 100644 (file)
index 94af645..0000000
Binary files a/test/CodeGen/R600/llvm.AMDGPU.pow.ll.check and /dev/null differ
diff --git a/test/CodeGen/R600/llvm.AMDGPU.rcp.ll b/test/CodeGen/R600/llvm.AMDGPU.rcp.ll
deleted file mode 100644 (file)
index 3efae49..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | diff %s.check -
-
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.AMDGPU.rcp( float %r0)
-   call void @llvm.AMDGPU.store.output(float %r1, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
-declare float @llvm.AMDGPU.rcp(float ) readnone
diff --git a/test/CodeGen/R600/llvm.AMDGPU.rcp.ll.check b/test/CodeGen/R600/llvm.AMDGPU.rcp.ll.check
deleted file mode 100644 (file)
index 75fe90c..0000000
Binary files a/test/CodeGen/R600/llvm.AMDGPU.rcp.ll.check and /dev/null differ
diff --git a/test/CodeGen/R600/llvm.AMDGPU.sin.ll b/test/CodeGen/R600/llvm.AMDGPU.sin.ll
deleted file mode 100644 (file)
index 6a427b5..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | diff %s.check -
-
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.AMDGPU.sin( float %r0)
-   call void @llvm.AMDGPU.store.output(float %r1, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
-declare float @llvm.AMDGPU.sin(float ) readnone
diff --git a/test/CodeGen/R600/llvm.AMDGPU.sin.ll.check b/test/CodeGen/R600/llvm.AMDGPU.sin.ll.check
deleted file mode 100644 (file)
index 5353554..0000000
Binary files a/test/CodeGen/R600/llvm.AMDGPU.sin.ll.check and /dev/null differ
diff --git a/test/CodeGen/R600/llvm.AMDGPU.trunc.ll b/test/CodeGen/R600/llvm.AMDGPU.trunc.ll
deleted file mode 100644 (file)
index fcabcac..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | diff %s.check -
-
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.AMDGPU.trunc( float %r0)
-   call void @llvm.AMDGPU.store.output(float %r1, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
-declare float @llvm.AMDGPU.trunc(float ) readnone
diff --git a/test/CodeGen/R600/llvm.AMDGPU.trunc.ll.check b/test/CodeGen/R600/llvm.AMDGPU.trunc.ll.check
deleted file mode 100644 (file)
index f9c93b3..0000000
Binary files a/test/CodeGen/R600/llvm.AMDGPU.trunc.ll.check and /dev/null differ
diff --git a/test/CodeGen/R600/llvm.AMDIL.fabs..ll b/test/CodeGen/R600/llvm.AMDIL.fabs..ll
deleted file mode 100644 (file)
index 1143036..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | diff %s.check -
-
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.AMDIL.fabs.( float %r0)
-   call void @llvm.AMDGPU.store.output(float %r1, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
-declare float @llvm.AMDIL.fabs.(float ) readnone
diff --git a/test/CodeGen/R600/llvm.AMDIL.fabs..ll.check b/test/CodeGen/R600/llvm.AMDIL.fabs..ll.check
deleted file mode 100644 (file)
index ff3124c..0000000
Binary files a/test/CodeGen/R600/llvm.AMDIL.fabs..ll.check and /dev/null differ
diff --git a/test/CodeGen/R600/llvm.AMDIL.max..ll b/test/CodeGen/R600/llvm.AMDIL.max..ll
deleted file mode 100644 (file)
index 3373712..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | diff %s.check -
-
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.R600.load.input(i32 1)
-   %r2 = call float @llvm.AMDIL.max.( float %r0, float %r1)
-   call void @llvm.AMDGPU.store.output(float %r2, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
-declare float @llvm.AMDIL.max.(float ,float ) readnone
diff --git a/test/CodeGen/R600/llvm.AMDIL.max..ll.check b/test/CodeGen/R600/llvm.AMDIL.max..ll.check
deleted file mode 100644 (file)
index 9ae4070..0000000
Binary files a/test/CodeGen/R600/llvm.AMDIL.max..ll.check and /dev/null differ
diff --git a/test/CodeGen/R600/llvm.AMDIL.min..ll b/test/CodeGen/R600/llvm.AMDIL.min..ll
deleted file mode 100644 (file)
index 76a8718..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-;RUN: llc < %s -march=r600 -mcpu=redwood | diff %s.check -
-
-
-define void @test() {
-   %r0 = call float @llvm.R600.load.input(i32 0)
-   %r1 = call float @llvm.R600.load.input(i32 1)
-   %r2 = call float @llvm.AMDIL.min.( float %r0, float %r1)
-   call void @llvm.AMDGPU.store.output(float %r2, i32 0)
-   ret void
-}
-
-declare float @llvm.R600.load.input(i32) readnone
-
-declare void @llvm.AMDGPU.store.output(float, i32)
-
-declare float @llvm.AMDIL.min.(float ,float ) readnone
diff --git a/test/CodeGen/R600/llvm.AMDIL.min..ll.check b/test/CodeGen/R600/llvm.AMDIL.min..ll.check
deleted file mode 100644 (file)
index 3d343bd..0000000
Binary files a/test/CodeGen/R600/llvm.AMDIL.min..ll.check and /dev/null differ