blob: bfb7b5d2f9358061171192e266a40a1ad924e987 [file] [log] [blame]
Nate Begemane066d682005-05-11 23:45:54 +00001; Make sure this testcase does not use ctpop
Reid Spencer69ccadd2006-12-02 04:23:10 +00002; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep -i 'cntlzw'
Nate Begemane066d682005-05-11 23:45:54 +00003
4declare int %llvm.cttz(int)
5
6implementation ; Functions:
7
8int %bar(int %x) {
9entry:
10 %tmp.1 = call int %llvm.cttz( int %x )
11 ret int %tmp.1
12}