search for: iscondbranchopcod

Displaying 2 results from an estimated 2 matches for "iscondbranchopcod".

Did you mean: iscondbranchopcode
2017 Oct 09
4
{ARM} IfConversion does not detect BX instruction as a branch
...DRs_ instruction is done twice when the "positive" path is taken. My current fix is the following: > @@ -408,7 +408,8 @@ unsigned ARMBaseInstrInfo::removeBranch(MachineBasicBlock &MBB, > return 0; > > if (!isUncondBranchOpcode(I->getOpcode()) && > - !isCondBranchOpcode(I->getOpcode())) > + !isCondBranchOpcode(I->getOpcode()) && > + !isIndirectBranchOpcode(I->getOpcode())) > return 0; Does that makes sense? Regards, Gael -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org...
2017 Oct 11
2
{ARM} IfConversion does not detect BX instruction as a branch
...t; twice when the "positive" path is taken. > > My current fix is the following: > > @@ -408,7 +408,8 @@ unsigned ARMBaseInstrInfo::removeBranch(MachineBasicBlock > &MBB, > return 0; > > if (!isUncondBranchOpcode(I->getOpcode()) && > - !isCondBranchOpcode(I->getOpcode())) > + !isCondBranchOpcode(I->getOpcode()) && > + !isIndirectBranchOpcode(I->getOpcode())) > return 0; > > Does that makes sense? > > > Target-independent code is only supposed to call removeBranch in cases > where analyzeBran...