aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-09-02 08:52:23 +0000
committerDuncan Sands <baldrick@free.fr>2010-09-02 08:52:23 +0000
commit8cf2663227c357437bd67ff4ce54683b540f5318 (patch)
treeaacfe2719669020276ee1130bda442796c9e4cb7 /test/Transforms
parent33198391d6d30127643c0d1f4ae9ed1ef85ed7f0 (diff)
downloadexternal_llvm-8cf2663227c357437bd67ff4ce54683b540f5318.zip
external_llvm-8cf2663227c357437bd67ff4ce54683b540f5318.tar.gz
external_llvm-8cf2663227c357437bd67ff4ce54683b540f5318.tar.bz2
Print the number of uses of a function in the .ll since it can be informative
and there seems to be no reason not to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/IndVarSimplify/2003-12-10-IndVarDeadCode.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Transforms/IndVarSimplify/2003-12-10-IndVarDeadCode.ll b/test/Transforms/IndVarSimplify/2003-12-10-IndVarDeadCode.ll
index c8f97e3..74393e8 100644
--- a/test/Transforms/IndVarSimplify/2003-12-10-IndVarDeadCode.ll
+++ b/test/Transforms/IndVarSimplify/2003-12-10-IndVarDeadCode.ll
@@ -1,8 +1,7 @@
; The induction variable canonicalization pass shouldn't leave dead
; instructions laying around!
;
-; RUN: opt < %s -indvars -S | \
-; RUN: not grep {#uses=0}
+; RUN: opt < %s -indvars -S | grep {#uses=0} | count 1
define i32 @mul(i32 %x, i32 %y) {
entry: