[llvm-commits] CVS: llvm/test/Transforms/InstCombine/bitcount.ll
Chris Lattner
sabre at nondot.org
Mon Apr 2 13:46:45 PDT 2007
Changes in directory llvm/test/Transforms/InstCombine:
bitcount.ll updated: 1.2 -> 1.3
---
Log message:
fix this testcase so it passes
---
Diffs of the changes: (+2 -2)
bitcount.ll | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/test/Transforms/InstCombine/bitcount.ll
diff -u llvm/test/Transforms/InstCombine/bitcount.ll:1.2 llvm/test/Transforms/InstCombine/bitcount.ll:1.3
--- llvm/test/Transforms/InstCombine/bitcount.ll:1.2 Sun Apr 1 22:24:47 2007
+++ llvm/test/Transforms/InstCombine/bitcount.ll Mon Apr 2 15:46:28 2007
@@ -1,6 +1,6 @@
; Tests to make sure bit counts of constants are folded
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis -o /dev/null -f &&
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'llvm.ct'
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 'ret i32 19' &&
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep -v declare | not grep 'llvm.ct'
declare i32 @llvm.ctpop.i31(i31 %val)
declare i32 @llvm.cttz.i32(i32 %val)
More information about the llvm-commits
mailing list