1 ; DISABLE: llc -march=mips64el -mcpu=mips64 -mattr=n64 -force-mips-long-branch -filetype=obj < %s -o - | elf-dump --dump-section-data | FileCheck %s
4 ; Disabled because currently we don't have a way to generate these relocations.
6 ; Check that the R_MIPS_HIGHER and R_MIPS_HIGHEST relocations were created.
8 ; CHECK: ('r_type', 0x1d)
9 ; CHECK: ('r_type', 0x1d)
10 ; CHECK: ('r_type', 0x1c)
11 ; CHECK: ('r_type', 0x1c)
13 @g0 = external global i32
15 define void @foo1(i32 %s) nounwind {
18 %tobool = icmp eq i32 %s, 0
19 br i1 %tobool, label %if.end, label %if.then
21 if.then: ; preds = %entry
22 %0 = load i32* @g0, align 4
23 %add = add nsw i32 %0, 12
24 store i32 %add, i32* @g0, align 4
27 if.end: ; preds = %entry, %if.then