Teach the JIT how to relocate LI, this fixes the JIT on Prolangs-C/TimberWolfMC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27943 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-04-22 06:17:56 +00:00
parent 776eb6b21e
commit ea4a9c575f

View File

@ -166,6 +166,7 @@ int PPCCodeEmitter::getMachineOpValue(MachineInstr &MI, MachineOperand &MO) {
case PPC::LIS:
Reloc = PPC::reloc_absolute_high; // Pointer to symbol
break;
case PPC::LI:
case PPC::LA:
case PPC::LBZ:
case PPC::LHA: