Modify MipsFrameLowering::emitPrologue and emitEpilogue.
authorAkira Hatanaka <ahatanaka@mips.com>
Wed, 25 Jan 2012 04:12:04 +0000 (04:12 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Wed, 25 Jan 2012 04:12:04 +0000 (04:12 +0000)
commitde5a0b65c27cc82300d3046fb9c119b8b524aa81
tree4a53d4739d96c35e1cb6ba23961aee4834a0f04a
parent36e91e9599c014fc0044c02030973bcfc78fbc68
Modify MipsFrameLowering::emitPrologue and emitEpilogue.

- Use MipsAnalyzeImmediate to expand immediates that do not fit in 16-bit.
- Change the types of variables so that they are sufficiently large to handle
  64-bit pointers.
- Emit instructions to set register $28 in a function prologue after
  instructions which store callee-saved registers have been emitted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148917 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsFrameLowering.cpp
test/CodeGen/Mips/largeimmprinting.ll