40 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=constisle2 3@i = common global i32 0, align 44@b = common global i32 0, align 45@l = common global i32 0, align 46 7; Function Attrs: nounwind8define void @foo() #0 {9entry:10 store i32 305419896, ptr @i, align 411 %0 = load i32, ptr @b, align 412 %tobool = icmp ne i32 %0, 013 br i1 %tobool, label %if.then, label %if.else14 15if.then: ; preds = %entry16 store i32 10, ptr @b, align 417 br label %if.end18 19if.else: ; preds = %entry20 store i32 20, ptr @b, align 421 br label %if.end22 23if.end: ; preds = %if.else, %if.then24 call void asm sideeffect ".space 100000", ""() #1, !srcloc !125 store i32 305419896, ptr @l, align 426 ret void27; constisle: $CPI0_1:28; constisle .4byte 305419896 # 0x1234567829; constisle #APP30; constisle .space 10000031; constisle #NO_APP32; constisle $CPI0_0:33; constisle .4byte 305419896 # 0x1234567834}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" "use-soft-float"="false" }37attributes #1 = { nounwind }38 39!1 = !{i32 103}40