~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to test/CodeGen/ARM/ctz.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-03-29 19:09:51 UTC
  • Revision ID: package-import@ubuntu.com-20120329190951-aq83ivog4cg8bxun
Tags: upstream-3.1~svn153643
ImportĀ upstreamĀ versionĀ 3.1~svn153643

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -march=arm -mattr=+v6t2 | FileCheck %s
 
2
 
 
3
declare i32 @llvm.cttz.i32(i32, i1)
 
4
 
 
5
define i32 @f1(i32 %a) {
 
6
; CHECK: f1:
 
7
; CHECK: rbit
 
8
; CHECK: clz
 
9
  %tmp = call i32 @llvm.cttz.i32( i32 %a, i1 true )
 
10
  ret i32 %tmp
 
11
}