[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:55:27 PDT 2018
abeserminji added inline comments.
================
Comment at: lib/Target/Mips/MipsInstrInfo.cpp:370-392
+ case Mips::BC1EQZC_MMR6:
+ case Mips::BC1NEZC_MMR6:
+ case Mips::BC2EQZC_MMR6:
+ case Mips::BC2NEZC_MMR6:
+ case Mips::BEQC_MMR6:
+ case Mips::BNEC_MMR6:
+ case Mips::BGEC_MMR6:
----------------
Is this offset correct here?
I find in documentation that offset is 16 bits for these instructions, and can't figure out why is it compared here to 20 bits.
Repository:
rL LLVM
https://reviews.llvm.org/D46794
More information about the llvm-commits
mailing list