search for: dups2

Displaying 1 result from an estimated 1 matches for "dups2".

Did you mean: dup2
2017 Oct 11
2
{ARM} IfConversion does not detect BX instruction as a branch
...ed:%CPSR<kill>; > mem:ST4[%__size_.i3.i.i.i.i] > %R6<def> = LDRrs %R4, %R6<kill>, 16386, pred:14, pred:%noreg; > mem:LD4[%0] > BX %R6<kill> > > Inside the *IfConvertDiamondCommon(...)* function of IfConversion.cpp, > the function is called with *NumDups2=1*, which makes sense because BB#8 > and BB#9 share the same *LDRrs* instruction with the same operands. The > problem is the call to *TTI->removeBranch(...)* function that does not > remove the *BX* instruction. Thus, when removing the common instructions, > the *BX* is removed inst...