1; RUN: llc -O0 -mtriple thumbv7--windows-itanium -filetype obj -o - %s | llvm-objdump -d - | FileCheck %s
2
3declare i32 @llvm.arm.space(i32, i32)
4
5define arm_aapcs_vfpcc i32 @f(i32 %n, i32 %d) local_unnamed_addr {
6entry:
7  %div = sdiv i32 %n, %d
8  call i32 @llvm.arm.space(i32 128, i32 undef)
9  ret i32 %div
10}
11
12; CHECK: cmp r1, #0
13; CHECK: beq #
14; CHECK: bl
15
16