diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2025-04-30 12:56:13 -0700 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2025-05-01 08:02:12 -0700 |
commit | bbc96c9c09921ca7d59564851d0ed6dcd918c300 (patch) | |
tree | 5e4344675c3b138b43df1635eb633aa08a8a7217 /gcc/rust/backend/rust-compile-struct-field-expr.cc | |
parent | 1fb5abc3919f376f3dedccad636eba4a4ad7e4a7 (diff) | |
download | gcc-bbc96c9c09921ca7d59564851d0ed6dcd918c300.zip gcc-bbc96c9c09921ca7d59564851d0ed6dcd918c300.tar.gz gcc-bbc96c9c09921ca7d59564851d0ed6dcd918c300.tar.bz2 |
phiopt: Remove special case for a sequence after match and simplify for early phiopt
r16-189-g99aa410f5e0a72 fixed the case where match-and-simplify there was an extra
assignment happening inside the sequence return. phiopt_early_allow had code to
workaround that issue but now can be removed and simplify down to only allowing
the sequence having only one MIN/MAX if the outer code is MIN/MAX also.
Bootstrapped and tested on x86_64-linux-gnu.
gcc/ChangeLog:
* tree-ssa-phiopt.cc (phiopt_early_allow): Only allow a sequence
with one statement for MIN/MAX and the op was MIN/MAX.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.cc')
0 files changed, 0 insertions, 0 deletions