R600: Remove redundant test
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 18 Jan 2015 19:30:32 +0000 (19:30 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 18 Jan 2015 19:30:32 +0000 (19:30 +0000)
This is already covered in ftrunc.ll

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

test/CodeGen/R600/fceil.ll
test/CodeGen/R600/ffloor.ll
test/CodeGen/R600/llvm.trunc.ll [deleted file]

index 7c7a7e36295c8e0eec7d17fe23985385d53e26e7..ce3e8e4e3ca2cb568f2643a0d2a104d53535f8bc 100644 (file)
@@ -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
index 7a9a1e9870d235bb4cb9c20e74a6e5ae3ff870c1..327f3bde543d0ba5da6e8fe750c65aac4a2c58b6 100644 (file)
@@ -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/test/CodeGen/R600/llvm.trunc.ll b/test/CodeGen/R600/llvm.trunc.ll
deleted file mode 100644 (file)
index 5585477..0000000
+++ /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)