38 lines · plain
1; RUN: llc -mtriple=mipsel-linux-gnu -mattr=mips16 -mattr=+soft-float -mips16-hard-float -relocation-model=static -mips16-constant-islands < %s | FileCheck %s -check-prefix=jal162 3@j = global i32 10, align 44@.str = private unnamed_addr constant [11 x i8] c"at bottom\0A\00", align 15@i = common global i32 0, align 46 7; Function Attrs: nounwind8define i32 @main() #0 {9entry:10 %retval = alloca i32, align 411 store i32 0, ptr %retval12 br label %z13 14z: ; preds = %y, %entry15 %call = call i32 @foo()16 call void asm sideeffect ".space 10000000", ""() #2, !srcloc !117 br label %y18 19y: ; preds = %z20 %call1 = call i32 (ptr, ...) @printf(ptr @.str)21 br label %z22 23return: ; No predecessors!24 %0 = load i32, ptr %retval25 ret i32 %026; jal16: jal $BB{{[0-9]+}}_{{[0-9]+}}27}28 29declare i32 @foo(...) #130 31declare i32 @printf(ptr, ...) #132 33attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="false" }34attributes #1 = { "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="false" }35attributes #2 = { nounwind }36 37!1 = !{i32 68}38