Displaying 3 results from an estimated 3 matches for "optok".
Did you mean:
opto
2013 Jul 23
2
[LLVMdev] Question on optimizeThumb2JumpTables
...ld be a tLEApcrel or t2LEApcrelJT; we want
// to delete it as well.
MachineInstr *LeaMI = PrevI;
if ((LeaMI->getOpcode() != ARM::tLEApcrelJT &&
LeaMI->getOpcode() != ARM::t2LEApcrelJT) ||
LeaMI->getOperand(0).getReg() != BaseReg)
OptOk = false;
if (!OptOk)
continue;
I am trying to figure out why the restriction of
LeaMI->getOperand(0).getReg() != BaseReg is there. It seems this is overly
restrictive. For example, here is a case where it succeeds:
8944B BB#53: derived from LLVM BB %172...
2013 Jul 29
0
[LLVMdev] Question on optimizeThumb2JumpTables
....****
>
> *MachineInstr* *LeaMI = PrevI;****
>
> *if* ((LeaMI->getOpcode() != *ARM*::tLEApcrelJT &&****
>
> LeaMI->getOpcode() != *ARM*::t2LEApcrelJT) ||****
>
> LeaMI->getOperand(0).getReg() != BaseReg)****
>
> OptOk = *false*;****
>
> ** **
>
> *if* (!OptOk)****
>
> *continue*;****
>
> ** **
>
> I am trying to figure out why the restriction of
> LeaMI->getOperand(0).getReg() != BaseReg is there. It seems this is overly
> restrictive. For example, here is a c...
2013 Jul 29
1
[LLVMdev] Question on optimizeThumb2JumpTables
...// to delete it as well.
>
> MachineInstr *LeaMI = PrevI;
>
> if ((LeaMI->getOpcode() != ARM::tLEApcrelJT &&
>
> LeaMI->getOpcode() != ARM::t2LEApcrelJT) ||
>
> LeaMI->getOperand(0).getReg() != BaseReg)
>
> OptOk = false;
>
>
>
> if (!OptOk)
>
> continue;
>
>
>
> I am trying to figure out why the restriction of LeaMI->getOperand(0).getReg() != BaseReg is there. It seems this is overly restrictive. For example, here is a case where it succeeds:
>
&g...