• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple=arm-eabi -mattr=+v5t %s -o - | FileCheck %s
2
3declare i32 @llvm.ctlz.i32(i32, i1)
4
5define i32 @test(i32 %x) {
6; CHECK: test
7; CHECK: clz r0, r0
8        %tmp.1 = call i32 @llvm.ctlz.i32( i32 %x, i1 true )
9        ret i32 %tmp.1
10}
11