mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-14 13:57:51 +00:00
fa341d919f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145716 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
203 B
LLVM
11 lines
203 B
LLVM
; RUN: llc -march=mips < %s | FileCheck %s
|
|
|
|
define i32 @A0(i32 %u) nounwind {
|
|
entry:
|
|
; CHECK: clz
|
|
call i32 @llvm.ctlz.i32( i32 %u )
|
|
ret i32 %0
|
|
}
|
|
|
|
declare i32 @llvm.ctlz.i32(i32) nounwind readnone
|