[mips] Modify long branch for NaCl:
authorSasa Stankovic <Sasa.Stankovic@imgtec.com>
Thu, 5 Jun 2014 13:52:08 +0000 (13:52 +0000)
committerSasa Stankovic <Sasa.Stankovic@imgtec.com>
Thu, 5 Jun 2014 13:52:08 +0000 (13:52 +0000)
commit67814261305cf58efd7df63bafcb6a65926ebd0c
tree6676cce62518d0b5473ff0894087cdec60f9b1dc
parent56c12e679aafae59f05e2ab15ba6c547a69bf97c
[mips] Modify long branch for NaCl:

  * Move the instruction that changes sp outside of the branch delay slot.
  * Bundle-align the target of indirect branch.

Differential Revision: http://llvm-reviews.chandlerc.com/D3928

llvm-svn: 210262
llvm/lib/Target/Mips/MipsLongBranch.cpp
llvm/test/CodeGen/Mips/longbranch.ll