blob: 06255eca9eed1a15c1d0cde3f37e35921d232bac [file] [log] [blame]
Andrew Lenharthd3942b42005-05-04 15:51:07 +00001; Make sure this testcase codegens to the bic instruction
2; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep 'ctlz'
3
4declare ubyte %llvm.ctlz(ubyte)
5
6implementation ; Functions:
7
8ubyte %bar(ubyte %x) {
9entry:
10 %tmp.1 = call ubyte %llvm.ctlz( ubyte %x )
11 ret ubyte %tmp.1
12}