blob: 75a2a827f258aead5e5deeece81b8b979e08f0e2 [file] [log] [blame]
Daniel Sanders8008de52015-10-15 14:34:23 +00001; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mattr=mips16 -mattr=+soft-float -mips16-hard-float -relocation-model=pic < %s | FileCheck %s
Reed Kotler2500bd62013-12-18 23:57:48 +00002
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