aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@gcc.gnu.org>2017-08-30 11:11:16 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2017-08-30 11:11:16 +0000
commit673bf5a6b65e51d177d2cf9fc4002171b1f467ab (patch)
tree6c897f8eed13c0d78998341ce2a350c204fa4667 /gcc/expr.c
parent45e8e706e295e7770d02c6d9c9798f4bab7ab524 (diff)
downloadgcc-673bf5a6b65e51d177d2cf9fc4002171b1f467ab.zip
gcc-673bf5a6b65e51d177d2cf9fc4002171b1f467ab.tar.gz
gcc-673bf5a6b65e51d177d2cf9fc4002171b1f467ab.tar.bz2
[23/77] Replace != VOIDmode checks with is_a <scalar_int_mode>
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-08-30 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. From-SVN: r251475
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions