[PATCH] D46794: [mips] Add support for isBranchOffsetInRange and use it for MipsLongBranch

Aleksandar Beserminji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 14 04:58:51 PDT 2018


abeserminji added inline comments.


================
Comment at: lib/Target/Mips/MipsLongBranch.cpp:588
-      int ShVal = STI.inMicroMipsMode() ? 2 : 4;
-      int64_t Offset = computeOffset(I->Br) / ShVal;
 
----------------
If this part is removed, then the below estimation for the NaCl will be estimated several times more.


Repository:
  rL LLVM

https://reviews.llvm.org/D46794





More information about the llvm-commits mailing list