You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
358 B
16 lines
358 B
4 months ago
|
; RUN: llc -O0 -mtriple thumbv7--windows-itanium -filetype obj -o - %s | llvm-objdump -d - | FileCheck %s
|
||
|
|
||
|
declare i32 @llvm.arm.space(i32, i32)
|
||
|
|
||
|
define arm_aapcs_vfpcc i32 @f(i32 %n, i32 %d) local_unnamed_addr {
|
||
|
entry:
|
||
|
%div = sdiv i32 %n, %d
|
||
|
call i32 @llvm.arm.space(i32 128, i32 undef)
|
||
|
ret i32 %div
|
||
|
}
|
||
|
|
||
|
; CHECK: cmp r1, #0
|
||
|
; CHECK: beq #
|
||
|
; CHECK: bl
|
||
|
|