repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs in register stack pass.
[llvm/zpu.git]
/
test
/
CodeGen
/
SPARC
/
ctpop.ll
blob
e56f4947b52af60bbb7402ee664412f7dab273e1
1
; RUN: llc < %s -march=sparc -mattr=-v9 | not grep popc
2
; RUN: llc < %s -march=sparcv9 -mattr=v9 | grep popc
3
4
declare i32 @llvm.ctpop.i32(i32)
5
6
define i32 @test(i32 %X) {
7
%Y = call i32 @llvm.ctpop.i32( i32 %X ) ; <i32> [#uses=1]
8
ret i32 %Y
9
}
10