1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 13:33:37 +02:00
llvm-mirror/test/CodeGen/ARM/clz.ll
Evan Cheng 1897bbd2cf ARM test cases contributed by Apple.
llvm-svn: 33354
2007-01-19 09:20:23 +00:00

10 lines
256 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+v5t | grep "clz"
declare uint %llvm.ctlz.i32(uint)
uint %test(uint %x) {
%tmp.1 = call uint %llvm.ctlz.i32( uint %x )
ret uint %tmp.1
}