search for: cond195

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

Did you mean: cond15
2012 Sep 20
0
[LLVMdev] Instruction as Value in PHI
On Thu, Sep 20, 2012 at 3:18 PM, Ryan Taylor <ryta1203 at gmail.com> wrote: > Curious, is there a pass/mechanism that exists to promote an instruction > that is a value of a PHI? > > For example, if one of the incoming values is a sub(x, y) from BB2, does > there exist something to promote this instruction back to BB2 (such that tmp > = sub(x,y)) and the PHI replaces the
2012 Sep 20
2
[LLVMdev] Instruction as Value in PHI
Curious, is there a pass/mechanism that exists to promote an instruction that is a value of a PHI? For example, if one of the incoming values is a sub(x, y) from BB2, does there exist something to promote this instruction back to BB2 (such that tmp = sub(x,y)) and the PHI replaces the sub instr with tmp? Or is the above the natural state that is then optimized into using sub, is there a call