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-ssa] More jump threading


On Thu, Jan 15, 2004 at 11:50:52AM -0700, law@redhat.com wrote:
> BB2:
>   x_2 = PHI (x_1(BB0), 0(BB1))
>   if (x_1 == 0)  goto BB3 else goto BB4

Yaye.  This also fixes another big outstanding issue, that of
not eliminating the input comparison to loops with constant
iteration count.

Plus we get to do it without optimistically duplicating the
loop header, which should make -Os folk happy.


r~


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