Revert revision 195965.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195967 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zoran Jovanovic 2013-11-29 22:10:02 +00:00
parent bc5c8eeed2
commit eb47ca4561
2 changed files with 1 additions and 16440 deletions

View File

@ -437,10 +437,8 @@ bool MipsLongBranch::runOnMachineFunction(MachineFunction &F) {
if (!I->Br || I->HasLongBranch)
continue;
int ShVal = TM.getSubtarget<MipsSubtarget>().inMicroMipsMode() ? 2 : 4;
// Check if offset fits into 16-bit immediate field of branches.
if (!ForceLongBranch && isInt<16>(computeOffset(I->Br) / ShVal))
if (!ForceLongBranch && isInt<16>(computeOffset(I->Br) / 4))
continue;
I->HasLongBranch = true;

File diff suppressed because it is too large Load Diff