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=constisle
2
3@i = common global i32 0, align 4
4@b = common global i32 0, align 4
5@l = common global i32 0, align 4
6
7; Function Attrs: nounwind
8define void @foo() #0 {
9entry:
10  store i32 305419896, i32* @i, align 4
11  %0 = load i32, i32* @b, align 4
12  %tobool = icmp ne i32 %0, 0
13  br i1 %tobool, label %if.then, label %if.else
14
15if.then:                                          ; preds = %entry
16  store i32 10, i32* @b, align 4
17  br label %if.end
18
19if.else:                                          ; preds = %entry
20  store i32 20, i32* @b, align 4
21  br label %if.end
22
23if.end:                                           ; preds = %if.else, %if.then
24  call void asm sideeffect ".space 100000", ""() #1, !srcloc !1
25  store i32 305419896, i32* @l, align 4
26  ret void
27; constisle: $CPI0_1:
28; constisle	.4byte	305419896               # 0x12345678
29; constisle	#APP
30; constisle	.space 100000
31; constisle	#NO_APP
32; constisle $CPI0_0:
33; constisle	.4byte	305419896               # 0x12345678
34}
35
36attributes #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" }
37attributes #1 = { nounwind }
38
39!1 = !{i32 103}
40