[llvm-commits] CVS: llvm/test/Transforms/SimplifyLibCalls/floor.ll

Reid Spencer reid at x10sys.com
Mon Apr 16 10:38:12 PDT 2007



Changes in directory llvm/test/Transforms/SimplifyLibCalls:

floor.ll updated: 1.5 -> 1.6
---
Log message:

For PR1319: http://llvm.org/PR1319 :
Remove && from the end of the lines to prevent tests from throwing run
lines into the background. Also, clean up places where the same command
is run multiple times by using a temporary file.


---
Diffs of the changes:  (+7 -12)

 floor.ll |   19 +++++++------------
 1 files changed, 7 insertions(+), 12 deletions(-)


Index: llvm/test/Transforms/SimplifyLibCalls/floor.ll
diff -u llvm/test/Transforms/SimplifyLibCalls/floor.ll:1.5 llvm/test/Transforms/SimplifyLibCalls/floor.ll:1.6
--- llvm/test/Transforms/SimplifyLibCalls/floor.ll:1.5	Sun Apr 15 00:16:38 2007
+++ llvm/test/Transforms/SimplifyLibCalls/floor.ll	Mon Apr 16 12:36:08 2007
@@ -1,15 +1,10 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \
-; RUN:    not grep {call.*floor(} &&
-; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \
-; RUN:    grep {call.*floorf(}
-; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \
-; RUN:    not grep {call.*ceil(} &&
-; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \
-; RUN:    grep {call.*ceilf(}
-; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \
-; RUN:    not grep {call.*nearbyint(} &&
-; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \
-; RUN:    grep {call.*nearbyintf(}
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis > %t
+; RUN: not grep {call.*floor(} %t
+; RUN: grep {call.*floorf(} %t
+; RUN: not grep {call.*ceil(} %t
+; RUN: grep {call.*ceilf(} %t
+; RUN: not grep {call.*nearbyint(} %t
+; RUN: grep {call.*nearbyintf(} %t
 ; XFAIL: sparc
 
 declare double %floor(double)






More information about the llvm-commits mailing list