projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
this passes
[oota-llvm.git]
/
test
/
CodeGen
/
Alpha
/
ctlz.ll
1
; Make sure this testcase codegens to the ctlz instruction
2
; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep -i 'ctlz'
3
4
declare ubyte %llvm.ctlz(ubyte)
5
6
implementation ; Functions:
7
8
ubyte %bar(ubyte %x) {
9
entry:
10
%tmp.1 = call ubyte %llvm.ctlz( ubyte %x )
11
ret ubyte %tmp.1
12
}