llvm-project/llvm/test/CodeGen/Mips/longbranch
Djordje Todorovic bcbd60aeb5 [Mips] Make MipsBranchExpansion aware of BBIT family of branch
Octeon branches (bbit0/bbit032/bbit1/bbit132) have an immediate operand,
so it is legal to have such replacement within
MipsBranchExpansion::replaceBranch().

According to the specification, a branch (e.g. bbit0 ) looks like:

bbit0  rs p offset  // p is an immediate operand
  if !rs<p> then branch

Without this patch, an assertion triggers in the method,
and the problem has been found in the real example.

Differential Revision: https://reviews.llvm.org/D76842
2020-03-31 09:20:51 +02:00
..
branch-limits-fp-micromips.mir
branch-limits-fp-micromipsr6.mir
branch-limits-fp-mips.mir
branch-limits-fp-mipsr6.mir
branch-limits-int-microMIPS.mir
branch-limits-int-micromipsr6.mir
branch-limits-int-mips64.mir
branch-limits-int-mips64r6.mir
branch-limits-int-mipsr6.mir
branch-limits-int.mir
branch-limits-msa.mir
compact-branches-long-branch.ll
long-branch-expansion-1.ll
long-branch-expansion-2.ll
long-branch-expansion-3.ll
long-branch-octeon.ll [Mips] Make MipsBranchExpansion aware of BBIT family of branch 2020-03-31 09:20:51 +02:00