commit | 8c89a50187561ea4fc6c62f3ea74bb6b8e63802a | [log] [tgz] |
---|---|---|
author | Dan Gohman <djg@cray.com> | Wed Aug 15 13:36:28 2007 +0000 |
committer | Dan Gohman <djg@cray.com> | Wed Aug 15 13:36:28 2007 +0000 |
tree | 3a500b846e77d285021ec12e3ef0bbe69c498b82 | |
parent | 2190f1727277e34ab4c30195bc4e4b8087315999 [diff] [blame] |
Convert tests using "| wc -l | grep ..." to use the count script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41097 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Transforms/ConstProp/float-to-ptr-cast.ll b/test/Transforms/ConstProp/float-to-ptr-cast.ll index f5201de..239b748 100644 --- a/test/Transforms/ConstProp/float-to-ptr-cast.ll +++ b/test/Transforms/ConstProp/float-to-ptr-cast.ll
@@ -1,5 +1,5 @@ ; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | \ -; RUN: grep -F {ret i32* null} | wc -l | grep 2 +; RUN: grep -F {ret i32* null} | count 2 int* %test1() { %X = cast float 0.0 to int*