On Wed, 16 Oct 2013, Zhenqiang Chen wrote:

The patch enhances ifcombine pass to recover some non short circuit
branches. Basically, it will do the following transformation:

Case 1:
 if (cond1)
   if (cond2)
==>
 if (cond1 && cond2)

Hello,

it might be more clear if you wrote (cond1 & cond2) so it can't be confused with a short-circuit?

Using branch probabilities to guide the decision would be nice, don't know how hard that would be though.

--
Marc Glisse

Reply via email to