blob: abd61de5a8d870f59102ba7223ad6706fa765774 [file] [log] [blame]
Akira Hatanakafa341d92011-12-02 22:28:09 +00001; RUN: llc -march=mips < %s | FileCheck %s
Bruno Cardoso Lopes65ad4522008-08-08 06:16:31 +00002
3define i32 @A0(i32 %u) nounwind {
4entry:
Akira Hatanakafa341d92011-12-02 22:28:09 +00005; CHECK: clz
Chandler Carruthddbc2742011-12-12 11:59:10 +00006 call i32 @llvm.ctlz.i32( i32 %u, i1 true )
Bruno Cardoso Lopes65ad4522008-08-08 06:16:31 +00007 ret i32 %0
8}
9
Chandler Carruthddbc2742011-12-12 11:59:10 +000010declare i32 @llvm.ctlz.i32(i32, i1) nounwind readnone