I know it , thanks.
-邮件原件-
发件人: Martin Jambor [mailto:mjam...@suse.cz]
发送时间: 2012年11月5日 6:14
收件人: Yangyueming
抄送: gcc@gcc.gnu.org
主题: Re: [help]failed to generate PHI NODE in esra pass.
Hi,
On Sat, Nov 03, 2012 at 09:01:53AM +, Yangyueming wrote:
> Hi, all
>
> I do the re
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(-O2 with gcc 4.7.0). The MAX_EXPR can be
generated.
foo (short int a, short int b)
{
int D