Fix Mips long branch pass.
authorAkira Hatanaka <ahatanaka@mips.com>
Sat, 21 Jul 2012 03:30:44 +0000 (03:30 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Sat, 21 Jul 2012 03:30:44 +0000 (03:30 +0000)
commit60287963c7505180500d63b1c1b90f0f4b337430
tree23b8522159cfe50ed630f61912e9edf15be94d42
parentb22c9289b0dd8255f63038e9bb8229111eb082ae
Fix Mips long branch pass.

This pass no longer requires that the global pointer value be saved to the
stack or register since it uses bal instruction to compute branch distance.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160601 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsInstrInfo.td
lib/Target/Mips/MipsLongBranch.cpp
test/CodeGen/Mips/longbranch.ll