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: [PATCH] make ifcvt try harder to use conditional moves


> 	* ifcvt.c (noce_emit_cmove): If both of the values are SUBREGs, try
> 	emitting the conditional move in the inner mode of the SUBREG.

OK for mainline, modulo:

> +     If we can't create new pseudos, though, don't bother.  */
> +  if (!can_create_pseudo_p ())
> +    return NULL_RTX;

Write "if (reload_completed)" for the sake of consistency; no need to retest.

-- 
Eric Botcazou


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