]> gcc.gnu.org Git - gcc.git/commit
[53/77] Pass a mode to const_scalar_mask_from_tree
authorRichard Sandiford <richard.sandiford@linaro.org>
Wed, 30 Aug 2017 11:17:45 +0000 (11:17 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 30 Aug 2017 11:17:45 +0000 (11:17 +0000)
commit04d6ea36a7f0b2124d1a102eae3727efddeb5875
tree446be370e6d10f03b5bc3943b0280e093b8eb6b0
parent1a52709222c9c5fd3b9446d3ef1db6b87d020e13
[53/77] Pass a mode to const_scalar_mask_from_tree

The caller of const_scalar_mask_from_tree has proven that
the mode is a MODE_INT, so this patch passes it down as a
scalar_int_mode.  It also expands the comment a little.

2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* expr.c (const_scalar_mask_from_tree): Add a mode argument.
Expand commentary.
(expand_expr_real_1): Update call accordingly.

Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r251505
gcc/ChangeLog
gcc/expr.c
This page took 0.062754 seconds and 5 git commands to generate.