Stackmap shadows should consider call returns a branch target.
[oota-llvm.git] / test / CodeGen / Mips / trap1.ll
1 ; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=pic
2
3 declare void @llvm.trap()
4
5 ; Function Attrs: nounwind optsize readnone
6 define i32 @main()  {
7 entry:
8   call void @llvm.trap()
9   unreachable
10 ; pic: break 0
11   ret i32 0
12 }
13