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: [23/77] Replace != VOIDmode checks with is_a <scalar_int_mode>


On 07/13/2017 02:47 AM, Richard Sandiford wrote:
> This patch replaces some checks against VOIDmode with checks
> of is_a <scalar_int_mode>, in cases where scalar integer modes
> were the only useful alternatives left.
> 
> gcc/
> 2017-07-13  Richard Sandiford  <richard.sandiford@linaro.org>
> 	    Alan Hayward  <alan.hayward@arm.com>
> 	    David Sherwood  <david.sherwood@arm.com>
> 
> 	* cfgexpand.c (expand_debug_expr): Use is_a <scalar_int_mode>
> 	instead of != VOIDmode.
> 	* combine.c (if_then_else_cond): Likewise.
> 	(change_zero_ext): Likewise.
> 	* dwarf2out.c (mem_loc_descriptor): Likewise.
> 	(loc_descriptor): Likewise.
> 	* rtlanal.c (canonicalize_condition): Likewise.
> 	* simplify-rtx.c (simplify_relational_operation_1): Likewise.
OK.
jeff


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