diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-22 06:17:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-22 06:17:56 +0000 |
commit | ea4a9c575fa0a8c8c1dce5223a637a166e5c1f8c (patch) | |
tree | c9bd049b87097f3bfd185cb6d7728f0b2be1854b | |
parent | 776eb6b21e086fc921dd7f5ac58d4268f0180e07 (diff) |
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
-rw-r--r-- | lib/Target/PowerPC/PPCCodeEmitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCCodeEmitter.cpp b/lib/Target/PowerPC/PPCCodeEmitter.cpp index fb269e9605..8d4e1b669a 100644 --- a/lib/Target/PowerPC/PPCCodeEmitter.cpp +++ b/lib/Target/PowerPC/PPCCodeEmitter.cpp @@ -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: |