1 ; RUN: llc -filetype=obj -march=mips64el -mcpu=mips64 %s -o - \
2 ; RUN: | elf-dump --dump-section-data \
5 define i32 @test(i32 %c) nounwind {
7 switch i32 %c, label %sw.default [
26 %retval.0 = phi i32 [ -1, %sw.default ], [ 7, %sw.bb8 ], [ 2, %sw.bb5 ], [ 3, %sw.bb2 ], [ 1, %sw.bb ]
30 ; Check that the appropriate relocations were created.
32 ; R_MIPS_GPREL32/R_MIPS_64/R_MIPS_NONE
33 ; CHECK: (('sh_name', 0x{{[a-z0-9]+}}) # '.rela.rodata'
34 ; CHECK: ('r_type3', 0x00)
35 ; CHECK-NEXT: ('r_type2', 0x12)
36 ; CHECK-NEXT: ('r_type', 0x0c)