1 ; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mattr=mips16 -mattr=+soft-float -mips16-hard-float -relocation-model=static -mips16-constant-islands < %s | FileCheck %s -check-prefix=jal16
3 @j = global i32 10, align 4
4 @.str = private unnamed_addr constant [11 x i8] c"at bottom\0A\00", align 1
5 @i = common global i32 0, align 4
7 ; Function Attrs: nounwind
8 define i32 @main() #0 {
10 %retval = alloca i32, align 4
11 store i32 0, ptr %retval
14 z: ; preds = %y, %entry
15 %call = call i32 @foo()
16 call void asm sideeffect ".space 10000000", ""() #2, !srcloc !1
20 %call1 = call i32 (ptr, ...) @printf(ptr @.str)
23 return: ; No predecessors!
24 %0 = load i32, ptr %retval
26 ; jal16: jal $BB{{[0-9]+}}_{{[0-9]+}}
29 declare i32 @foo(...) #1
31 declare i32 @printf(ptr, ...) #1
33 attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
34 attributes #1 = { "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
35 attributes #2 = { nounwind }