blob: 4e62e557478afb24f6204967bd36b934b70f40ca [file] [log] [blame]
Reed Kotler2500bd62013-12-18 23:57:48 +00001; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -soft-float -mips16-hard-float -relocation-model=pic < %s | FileCheck %s
2
3; Function Attrs: nounwind optsize
4define float @h() {
5entry:
6 %call = tail call float bitcast (float (...)* @g to float ()*)()
7 ret float %call
8; CHECK: .ent h
9; CHECK: save $16, $ra, $18, 32
10; CHECK: lw ${{[0-9]+}}, %got(__mips16_call_stub_sf_0)(${{[0-9]+}})
11; CHECK: restore $16, $ra, $18, 32
12; CHECK: .end h
13}
14
15; Function Attrs: optsize
16declare float @g(...)
17
18
19
20