repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
CodeGen
/
PowerPC
/
cttz.ll
blob
2c51e8afa5580a023d9892e0e83b628d25d90f0b
1
; Make sure this testcase does not use ctpop
2
; RUN: llvm-as < %s | llc -march=ppc32 | grep -i cntlzw
3
4
declare i32 @llvm.cttz.i32(i32)
5
6
define i32 @bar(i32 %x) {
7
entry:
8
%tmp.1 = call i32 @llvm.cttz.i32( i32 %x ) ; <i32> [#uses=1]
9
ret i32 %tmp.1
10
}
11