summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-07-16 18:19:43 +0000
committerTom Stellard <thomas.stellard@amd.com>2012-07-16 18:19:43 +0000
commitfc3db614c08ccbc617d5393d8738154977d23c19 (patch)
tree883be6de7b16230a1c1fb4e68e11516bf8ba6cec
parent151dc338e46973e9afd8f64834af0aed87d7ef0b (diff)
downloadbcm5719-llvm-fc3db614c08ccbc617d5393d8738154977d23c19.tar.gz
bcm5719-llvm-fc3db614c08ccbc617d5393d8738154977d23c19.zip
Revert "test/CodeGen/R600: Add some basic tests v6"
This reverts commit 11d3457afcda7848448dd7f11b2ede6552ffb9ea. llvm-svn: 160300
-rw-r--r--llvm/test/CodeGen/R600/fadd.ll15
-rw-r--r--llvm/test/CodeGen/R600/fadd.ll.checkbin48 -> 0 bytes
-rw-r--r--llvm/test/CodeGen/R600/fmul.ll15
-rw-r--r--llvm/test/CodeGen/R600/fmul.ll.checkbin48 -> 0 bytes
-rw-r--r--llvm/test/CodeGen/R600/fsub.ll15
-rw-r--r--llvm/test/CodeGen/R600/fsub.ll.checkbin96 -> 0 bytes
-rw-r--r--llvm/test/CodeGen/R600/lit.local.cfg13
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.cos.ll15
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.cos.ll.checkbin144 -> 0 bytes
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.floor.ll15
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.floor.ll.checkbin48 -> 0 bytes
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.mul.ll16
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.mul.ll.checkbin48 -> 0 bytes
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.pow.ll16
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.pow.ll.checkbin144 -> 0 bytes
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.rcp.ll15
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.rcp.ll.checkbin48 -> 0 bytes
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.sin.ll15
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.sin.ll.checkbin144 -> 0 bytes
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.trunc.ll15
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.trunc.ll.checkbin48 -> 0 bytes
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDIL.fabs..ll15
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDIL.fabs..ll.checkbin48 -> 0 bytes
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDIL.max..ll16
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDIL.max..ll.checkbin48 -> 0 bytes
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDIL.min..ll16
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDIL.min..ll.checkbin48 -> 0 bytes
27 files changed, 0 insertions, 212 deletions
diff --git a/llvm/test/CodeGen/R600/fadd.ll b/llvm/test/CodeGen/R600/fadd.ll
deleted file mode 100644
index 874fcc6f43e..00000000000
--- a/llvm/test/CodeGen/R600/fadd.ll
+++ /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/llvm/test/CodeGen/R600/fadd.ll.check b/llvm/test/CodeGen/R600/fadd.ll.check
deleted file mode 100644
index 886082f2262..00000000000
--- a/llvm/test/CodeGen/R600/fadd.ll.check
+++ /dev/null
Binary files differ
diff --git a/llvm/test/CodeGen/R600/fmul.ll b/llvm/test/CodeGen/R600/fmul.ll
deleted file mode 100644
index 28bc4d8008e..00000000000
--- a/llvm/test/CodeGen/R600/fmul.ll
+++ /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/llvm/test/CodeGen/R600/fmul.ll.check b/llvm/test/CodeGen/R600/fmul.ll.check
deleted file mode 100644
index 9ba36ccb741..00000000000
--- a/llvm/test/CodeGen/R600/fmul.ll.check
+++ /dev/null
Binary files differ
diff --git a/llvm/test/CodeGen/R600/fsub.ll b/llvm/test/CodeGen/R600/fsub.ll
deleted file mode 100644
index 8e431280fca..00000000000
--- a/llvm/test/CodeGen/R600/fsub.ll
+++ /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/llvm/test/CodeGen/R600/fsub.ll.check b/llvm/test/CodeGen/R600/fsub.ll.check
deleted file mode 100644
index 79993541ce6..00000000000
--- a/llvm/test/CodeGen/R600/fsub.ll.check
+++ /dev/null
Binary files differ
diff --git a/llvm/test/CodeGen/R600/lit.local.cfg b/llvm/test/CodeGen/R600/lit.local.cfg
deleted file mode 100644
index 79fc2ba362f..00000000000
--- a/llvm/test/CodeGen/R600/lit.local.cfg
+++ /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/llvm/test/CodeGen/R600/llvm.AMDGPU.cos.ll b/llvm/test/CodeGen/R600/llvm.AMDGPU.cos.ll
deleted file mode 100644
index 8db95638aeb..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.cos.ll
+++ /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/llvm/test/CodeGen/R600/llvm.AMDGPU.cos.ll.check b/llvm/test/CodeGen/R600/llvm.AMDGPU.cos.ll.check
deleted file mode 100644
index ef1389b27a3..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.cos.ll.check
+++ /dev/null
Binary files differ
diff --git a/llvm/test/CodeGen/R600/llvm.AMDGPU.floor.ll b/llvm/test/CodeGen/R600/llvm.AMDGPU.floor.ll
deleted file mode 100644
index 729a7834773..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.floor.ll
+++ /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/llvm/test/CodeGen/R600/llvm.AMDGPU.floor.ll.check b/llvm/test/CodeGen/R600/llvm.AMDGPU.floor.ll.check
deleted file mode 100644
index 324c10d94c8..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.floor.ll.check
+++ /dev/null
Binary files differ
diff --git a/llvm/test/CodeGen/R600/llvm.AMDGPU.mul.ll b/llvm/test/CodeGen/R600/llvm.AMDGPU.mul.ll
deleted file mode 100644
index 3c995c924f8..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.mul.ll
+++ /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/llvm/test/CodeGen/R600/llvm.AMDGPU.mul.ll.check b/llvm/test/CodeGen/R600/llvm.AMDGPU.mul.ll.check
deleted file mode 100644
index 0a79cbaf263..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.mul.ll.check
+++ /dev/null
Binary files differ
diff --git a/llvm/test/CodeGen/R600/llvm.AMDGPU.pow.ll b/llvm/test/CodeGen/R600/llvm.AMDGPU.pow.ll
deleted file mode 100644
index b692081c13e..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.pow.ll
+++ /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/llvm/test/CodeGen/R600/llvm.AMDGPU.pow.ll.check b/llvm/test/CodeGen/R600/llvm.AMDGPU.pow.ll.check
deleted file mode 100644
index 94af645419b..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.pow.ll.check
+++ /dev/null
Binary files differ
diff --git a/llvm/test/CodeGen/R600/llvm.AMDGPU.rcp.ll b/llvm/test/CodeGen/R600/llvm.AMDGPU.rcp.ll
deleted file mode 100644
index 3efae497416..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.rcp.ll
+++ /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/llvm/test/CodeGen/R600/llvm.AMDGPU.rcp.ll.check b/llvm/test/CodeGen/R600/llvm.AMDGPU.rcp.ll.check
deleted file mode 100644
index 75fe90c5189..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.rcp.ll.check
+++ /dev/null
Binary files differ
diff --git a/llvm/test/CodeGen/R600/llvm.AMDGPU.sin.ll b/llvm/test/CodeGen/R600/llvm.AMDGPU.sin.ll
deleted file mode 100644
index 6a427b5d1af..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.sin.ll
+++ /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/llvm/test/CodeGen/R600/llvm.AMDGPU.sin.ll.check b/llvm/test/CodeGen/R600/llvm.AMDGPU.sin.ll.check
deleted file mode 100644
index 53535543a94..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.sin.ll.check
+++ /dev/null
Binary files differ
diff --git a/llvm/test/CodeGen/R600/llvm.AMDGPU.trunc.ll b/llvm/test/CodeGen/R600/llvm.AMDGPU.trunc.ll
deleted file mode 100644
index fcabcac89f7..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.trunc.ll
+++ /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/llvm/test/CodeGen/R600/llvm.AMDGPU.trunc.ll.check b/llvm/test/CodeGen/R600/llvm.AMDGPU.trunc.ll.check
deleted file mode 100644
index f9c93b3def5..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.trunc.ll.check
+++ /dev/null
Binary files differ
diff --git a/llvm/test/CodeGen/R600/llvm.AMDIL.fabs..ll b/llvm/test/CodeGen/R600/llvm.AMDIL.fabs..ll
deleted file mode 100644
index 11430369e4c..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDIL.fabs..ll
+++ /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/llvm/test/CodeGen/R600/llvm.AMDIL.fabs..ll.check b/llvm/test/CodeGen/R600/llvm.AMDIL.fabs..ll.check
deleted file mode 100644
index ff3124ca903..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDIL.fabs..ll.check
+++ /dev/null
Binary files differ
diff --git a/llvm/test/CodeGen/R600/llvm.AMDIL.max..ll b/llvm/test/CodeGen/R600/llvm.AMDIL.max..ll
deleted file mode 100644
index 337371234ae..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDIL.max..ll
+++ /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/llvm/test/CodeGen/R600/llvm.AMDIL.max..ll.check b/llvm/test/CodeGen/R600/llvm.AMDIL.max..ll.check
deleted file mode 100644
index 9ae4070fdc8..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDIL.max..ll.check
+++ /dev/null
Binary files differ
diff --git a/llvm/test/CodeGen/R600/llvm.AMDIL.min..ll b/llvm/test/CodeGen/R600/llvm.AMDIL.min..ll
deleted file mode 100644
index 76a87188808..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDIL.min..ll
+++ /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/llvm/test/CodeGen/R600/llvm.AMDIL.min..ll.check b/llvm/test/CodeGen/R600/llvm.AMDIL.min..ll.check
deleted file mode 100644
index 3d343bdea61..00000000000
--- a/llvm/test/CodeGen/R600/llvm.AMDIL.min..ll.check
+++ /dev/null
Binary files differ
OpenPOWER on IntegriCloud