[llvm] r226412 - R600: Remove redundant test

Matt Arsenault Matthew.Arsenault at amd.com
Sun Jan 18 11:30:32 PST 2015


Author: arsenm
Date: Sun Jan 18 13:30:32 2015
New Revision: 226412

URL: http://llvm.org/viewvc/llvm-project?rev=226412&view=rev
Log:
R600: Remove redundant test

This is already covered in ftrunc.ll

Removed:
    llvm/trunk/test/CodeGen/R600/llvm.trunc.ll
Modified:
    llvm/trunk/test/CodeGen/R600/fceil.ll
    llvm/trunk/test/CodeGen/R600/ffloor.ll

Modified: llvm/trunk/test/CodeGen/R600/fceil.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/R600/fceil.ll?rev=226412&r1=226411&r2=226412&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/R600/fceil.ll (original)
+++ llvm/trunk/test/CodeGen/R600/fceil.ll Sun Jan 18 13:30:32 2015
@@ -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

Modified: llvm/trunk/test/CodeGen/R600/ffloor.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/R600/ffloor.ll?rev=226412&r1=226411&r2=226412&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/R600/ffloor.ll (original)
+++ llvm/trunk/test/CodeGen/R600/ffloor.ll Sun Jan 18 13:30:32 2015
@@ -47,4 +47,4 @@ declare <2 x float> @llvm.floor.v2f32(<2
 ; Function Attrs: nounwind readonly
 declare <4 x float> @llvm.floor.v4f32(<4 x float>) #0
 
-attributes #0 = { nounwind readonly }
+attributes #0 = { nounwind readnone }

Removed: llvm/trunk/test/CodeGen/R600/llvm.trunc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/R600/llvm.trunc.ll?rev=226411&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/R600/llvm.trunc.ll (original)
+++ llvm/trunk/test/CodeGen/R600/llvm.trunc.ll (removed)
@@ -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)





More information about the llvm-commits mailing list