Stackmap shadows should consider call returns a branch target.
[oota-llvm.git] / test / CodeGen / Mips / mips16_32_1.ll
1 ; RUN: llc  -march=mipsel -mcpu=mips16 -relocation-model=pic -O3 < %s -mips-mixed-16-32  | FileCheck %s 
2 ; RUN: llc  -march=mipsel -mcpu=mips32 -relocation-model=pic -O3 < %s -mips-mixed-16-32  | FileCheck %s 
3
4 define void @foo() #0 {
5 entry:
6   ret void
7 }
8
9 ; CHECK:        .set    mips16
10 ; CHECK:        .ent    foo
11 ; CHECK:        jrc $ra
12 ; CHECK:        .end    foo
13 attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }