llvm-project/llvm/test/CodeGen/Mips/2008-08-08-ctlz.ll
Fangrui Song ae26f50aea [test] Change llc -march=mips* to -mtriple=mips*
Similar to 806761a7629df268c8aed49657aeccffa6bca449
2024-12-10 22:14:06 -08:00

11 lines
218 B
LLVM

; RUN: llc -mtriple=mips < %s | FileCheck %s
define i32 @A0(i32 %u) nounwind {
entry:
; CHECK: clz
call i32 @llvm.ctlz.i32( i32 %u, i1 true )
ret i32 %0
}
declare i32 @llvm.ctlz.i32(i32, i1) nounwind readnone