Re: [help]failed to generate PHI NODE in esra pass.

2012-11-05 Thread Handong Ye
On Mon, Nov 5, 2012 at 5:32 AM, Martin Jambor wrote: > Hi, > > On Sun, Nov 04, 2012 at 09:32:48PM -0800, Handong Ye wrote: >> On Sun, Nov 4, 2012 at 2:13 PM, Martin Jambor wrote: >> > On Sat, Nov 03, 2012 at 09:01:53AM +, Yangyueming wrote: >> >> Hi, all >> >> > > ... > >> >> >> >> But when I

Re: [help]failed to generate PHI NODE in esra pass.

2012-11-05 Thread Martin Jambor
Hi, On Sun, Nov 04, 2012 at 09:32:48PM -0800, Handong Ye wrote: > On Sun, Nov 4, 2012 at 2:13 PM, Martin Jambor wrote: > > On Sat, Nov 03, 2012 at 09:01:53AM +, Yangyueming wrote: > >> Hi, all > >> ... > >> > >> But when I do the test for a case with a little change, it is failed to > >> g

Re: [help]failed to generate PHI NODE in esra pass.

2012-11-04 Thread Handong Ye
On Sun, Nov 4, 2012 at 2:13 PM, Martin Jambor wrote: > Hi, > > On Sat, Nov 03, 2012 at 09:01:53AM +, Yangyueming wrote: >> Hi, all >> >> I do the research of min max instructions recently. I find it is related >> with phiopt. >> >> case1: >> int foo(short a ,short b) >> { >> if (a < b) >>

Re: [help]failed to generate PHI NODE in esra pass.

2012-11-04 Thread Martin Jambor
Hi, On Sat, Nov 03, 2012 at 09:01:53AM +, Yangyueming wrote: > Hi, all > > I do the research of min max instructions recently. I find it is related with > phiopt. > > case1: > int foo(short a ,short b) > { >   if (a < b) >     a = b;   >   return a; > } > > It is successed in pass phiopt1(