1 ; DISABLE: llc -march=mips64el -mcpu=mips64 -mattr=n64 -force-mips-long-branch -filetype=obj < %s -o - | llvm-readobj -r | 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.
9 ; CHECK: 0x{{[0-9,A-F]+}} R_MIPS_HIGHEST
10 ; CHECK: 0x{{[0-9,A-F]+}} R_MIPS_HIGHEST
11 ; CHECK: 0x{{[0-9,A-F]+}} R_MIPS_HIGHER
12 ; CHECK: 0x{{[0-9,A-F]+}} R_MIPS_HIGHER
15 @g0 = external global i32
17 define void @foo1(i32 %s) nounwind {
20 %tobool = icmp eq i32 %s, 0
21 br i1 %tobool, label %if.end, label %if.then
23 if.then: ; preds = %entry
24 %0 = load i32* @g0, align 4
25 %add = add nsw i32 %0, 12
26 store i32 %add, i32* @g0, align 4
29 if.end: ; preds = %entry, %if.then