Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/PowerPC/cttz.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | afa8332a0e37 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:95c75e76d11b |
---|---|
1 ; Make sure this testcase does not use ctpop | |
2 ; RUN: llc < %s -march=ppc32 -mcpu=g5 | FileCheck %s | |
3 | |
4 declare i32 @llvm.cttz.i32(i32, i1) | |
5 | |
6 define i32 @bar(i32 %x) { | |
7 entry: | |
8 ; CHECK: @bar | |
9 ; CHECK: cntlzw | |
10 %tmp.1 = call i32 @llvm.cttz.i32( i32 %x, i1 true ) ; <i32> [#uses=1] | |
11 ret i32 %tmp.1 | |
12 } | |
13 |