search for: simplifyphinod

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

Did you mean: simplifyphinode
2012 May 18
5
[LLVMdev] Phi + Select Optimization
Hi all, I've just written a small enhancement to SimplifyPHINode. The idea is the following: If we have this: a = phi(X, X, undef, undef, X, undef) X = select cond, sth, a or this: a = phi(X, X, undef, undef, X, undef) X = select cond, a, sth we can replace the phi by 'a' and the select by 'sth'. Why does this work? Well, in those cases...