diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-02 20:46:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-02 20:46:28 +0000 |
commit | 7b3b7e1e8e2b673ae5d2fe0245d16f9423fd1b53 (patch) | |
tree | 3fca5285be1a1c8393b40e8a2aade72c443f4e2b | |
parent | 0a266af5ce881efd2973c680ed68993d0849e224 (diff) | |
download | external_llvm-7b3b7e1e8e2b673ae5d2fe0245d16f9423fd1b53.zip external_llvm-7b3b7e1e8e2b673ae5d2fe0245d16f9423fd1b53.tar.gz external_llvm-7b3b7e1e8e2b673ae5d2fe0245d16f9423fd1b53.tar.bz2 |
fix this testcase so it passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35604 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/bitcount.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/bitcount.ll b/test/Transforms/InstCombine/bitcount.ll index fa05e3f..f23f655 100644 --- 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) |