1 // This test case will cause an internal EK_GPRel64BlockAddress to
be
2 // produced. This was
not handled for direct object
and an assertion
3 // to occur. This is
a variation on test case test
/CodeGen
/Mips
/do_switch.ll
5 // RUN
: llvm-mc
< %s
-filetype
=obj
-triple
=mips64-pc-linux
-mcpu
=mips64
-target-abi
=n64
9 .section .mdebug.abi64,"",@progbits
10 .file "/home/espindola/llvm/llvm/test/MC/Mips/do_switch.ll"
26 lui $
1, %hi
(%neg(%gp_rel
(main
)))
40 daddiu $
1, $
2, %lo
(%neg(%gp_rel
(main
)))
45 ld $
3, %got_page
($JTI0_0
)($
1)
47 ld $
2, %got_ofst
($JTI0_0
)($
2)
72 .size main, ($tmp0)-main
73 .section .rodata,"a",@progbits