Stackmap shadows should consider call returns a branch target.
[oota-llvm.git] / test / CodeGen / Mips / 2008-07-07-Float2Int.ll
1 ; RUN: llc -march=mips < %s | FileCheck %s
2
3 define i32 @fptoint(float %a) nounwind {
4 entry:
5 ; CHECK: trunc.w.s 
6   fptosi float %a to i32                ; <i32>:0 [#uses=1]
7   ret i32 %0
8 }
9
10 define i32 @fptouint(float %a) nounwind {
11 entry:
12 ; CHECK: fptouint
13 ; CHECK: trunc.w.s 
14 ; CHECK: trunc.w.s 
15   fptoui float %a to i32                ; <i32>:0 [#uses=1]
16   ret i32 %0
17 }