This is the mail archive of the gcc@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] moving phi nodes?


In message <20031116062517.GA2111@redhat.com>, Richard Henderson writes:
 >One jump threading case that we're currently missing, sorely, 
 >is of the form:
 >
 >int foo(int p, int q)
 >{
 >  int i = 0;
 >  if (p)
 >    i = q;
 >  if (i != 0)
 >    bar ();
 >  return i;
 >}
 >
 >From the t28.dce2 dump:
[ ... ]
FWIW, I just checked in an improvement to the dominator optimizer which 
should optimize this case.

jeff


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