summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2015-01-18 19:30:32 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2015-01-18 19:30:32 +0000
commit4843f193ade5020d8722ce85826e183b0a676203 (patch)
tree548129ed61d29ec52e7fff289d9ed5b6b7659bd3 /llvm
parenteb9bfac876d21bd7d0f35cc233bd4d5cb303e25c (diff)
downloadbcm5719-llvm-4843f193ade5020d8722ce85826e183b0a676203.tar.gz
bcm5719-llvm-4843f193ade5020d8722ce85826e183b0a676203.zip
R600: Remove redundant test
This is already covered in ftrunc.ll llvm-svn: 226412
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/R600/fceil.ll2
-rw-r--r--llvm/test/CodeGen/R600/ffloor.ll2
-rw-r--r--llvm/test/CodeGen/R600/llvm.trunc.ll13
3 files changed, 2 insertions, 15 deletions
diff --git a/llvm/test/CodeGen/R600/fceil.ll b/llvm/test/CodeGen/R600/fceil.ll
index 7c7a7e36295..ce3e8e4e3ca 100644
--- a/llvm/test/CodeGen/R600/fceil.ll
+++ b/llvm/test/CodeGen/R600/fceil.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=amdgcn -mcpu=SI < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s
+; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s
; RUN: llc -march=r600 -mcpu=cypress < %s | FileCheck -check-prefix=EG -check-prefix=FUNC %s
declare float @llvm.ceil.f32(float) nounwind readnone
diff --git a/llvm/test/CodeGen/R600/ffloor.ll b/llvm/test/CodeGen/R600/ffloor.ll
index 7a9a1e9870d..327f3bde543 100644
--- a/llvm/test/CodeGen/R600/ffloor.ll
+++ b/llvm/test/CodeGen/R600/ffloor.ll
@@ -47,4 +47,4 @@ declare <2 x float> @llvm.floor.v2f32(<2 x float>) #0
; Function Attrs: nounwind readonly
declare <4 x float> @llvm.floor.v4f32(<4 x float>) #0
-attributes #0 = { nounwind readonly }
+attributes #0 = { nounwind readnone }
diff --git a/llvm/test/CodeGen/R600/llvm.trunc.ll b/llvm/test/CodeGen/R600/llvm.trunc.ll
deleted file mode 100644
index 5585477ef29..00000000000
--- a/llvm/test/CodeGen/R600/llvm.trunc.ll
+++ /dev/null
@@ -1,13 +0,0 @@
-; RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
-
-; CHECK-LABEL: {{^}}trunc_f32:
-; CHECK: TRUNC
-
-define void @trunc_f32(float addrspace(1)* %out, float %in) {
-entry:
- %0 = call float @llvm.trunc.f32(float %in)
- store float %0, float addrspace(1)* %out
- ret void
-}
-
-declare float @llvm.trunc.f32(float)
OpenPOWER on IntegriCloud