This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Tree profilng merge 1 - allow inserting onto edge to EXIT_BLOCK


Jeffrey A Law wrote:

Keep me informed -- how you do this has some implications for
Andrew's code (which I've taken review responsibility for) to
optimize stuff like
>
> if (cond)
>   return x;
> else
>   return y;

I planned to do this as part of a general rewrite of phiopt (see earlier message to the list in which I CCed you). Is Andrew rewriting this to

 if (cond)
   T = x;
 else
   T = y;
  return T;

?

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]