Fix pr6111: Avoid using the LR register for the target address of an indirect
[oota-llvm.git] / test / CodeGen / Mips / 2009-11-16-CstPoolLoad.ll
index f59639f66adfca7d720fe00fc79cebab44c1ffe7..636b318014a553333f4c3a22539a65e08ba9f4d8 100644 (file)
@@ -4,7 +4,7 @@ target triple = "mips-unknown-linux"
 
 define float @h() nounwind readnone {
 entry:
-; CHECK: lui $2, %hi($CPI1_0)
+; CHECK: lw $2, %got($CPI1_0)($gp)
 ; CHECK: lwc1 $f0, %lo($CPI1_0)($2)
   ret float 0x400B333340000000
 }