projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a266af
)
fix this testcase so it passes
author
Chris Lattner
<sabre@nondot.org>
Mon, 2 Apr 2007 20:46:28 +0000
(20:46 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 2 Apr 2007 20:46:28 +0000
(20:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35604
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/bitcount.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/bitcount.ll
b/test/Transforms/InstCombine/bitcount.ll
index fa05e3f7f1bdce9411b12a4baf06b4ad92e1298f..f23f65521f76ed1d98cf2f18fcfe81341767f104 100644
(file)
--- a/
test/Transforms/InstCombine/bitcount.ll
+++ b/
test/Transforms/InstCombine/bitcount.ll
@@
-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)