aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Alpha/ctlz.ll
blob: 06255eca9eed1a15c1d0cde3f37e35921d232bac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; Make sure this testcase codegens to the bic instruction
; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep 'ctlz'

declare ubyte %llvm.ctlz(ubyte)

implementation   ; Functions:

ubyte %bar(ubyte %x) {
entry:
	%tmp.1 = call ubyte %llvm.ctlz( ubyte %x ) 
	ret ubyte %tmp.1
}