]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/ARM/ctz.ll
Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release):
[FreeBSD/FreeBSD.git] / test / CodeGen / ARM / ctz.ll
1 ; RUN: llc -mtriple=arm-eabi -mattr=+v6t2 %s -o - | FileCheck %s
2
3 declare i32 @llvm.cttz.i32(i32, i1)
4
5 define i32 @f1(i32 %a) {
6 ; CHECK-LABEL: f1:
7 ; CHECK: rbit
8 ; CHECK: clz
9   %tmp = call i32 @llvm.cttz.i32( i32 %a, i1 true )
10   ret i32 %tmp
11 }