mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
fix this testcase so it passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35604 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a266af5ce
commit
7b3b7e1e8e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user