diff options
author | Andrew Pinski <apinski@marvell.com> | 2023-02-17 16:43:27 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2023-02-18 01:48:33 +0000 |
commit | a7d8c40484c31a74a2c2bb17d835d60ba7dd8d29 (patch) | |
tree | d696178ef9cfe5cd52671bfceb98dc86e878bc32 /gcc | |
parent | 175d528595c3a8bdf75086d4e13844b645f715b0 (diff) | |
download | gcc-a7d8c40484c31a74a2c2bb17d835d60ba7dd8d29.zip gcc-a7d8c40484c31a74a2c2bb17d835d60ba7dd8d29.tar.gz gcc-a7d8c40484c31a74a2c2bb17d835d60ba7dd8d29.tar.bz2 |
Remove #if GIMPLE around 1 - a pattern
This removes the "#if GIMPLE" around the
"1 - a" pattern as ssa_name_has_boolean_range
(get_range_query) works when cfun is a nullptr.
OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions.
gcc/ChangeLog:
* match.pd: Remove #if GIMPLE around the
"1 - a" pattern
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/match.pd | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/match.pd b/gcc/match.pd index e7b7003..e352bd4 100644 --- a/gcc/match.pd +++ b/gcc/match.pd @@ -1732,7 +1732,6 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT) (if (!FIXED_POINT_TYPE_P (type)) (plus @0 (negate @1)))) -#if GIMPLE /* 1 - a is a ^ 1 if a had a bool range. */ /* This is only enabled for gimple as sometimes cfun is not set for the function which contains @@ -1743,7 +1742,6 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT) (if (INTEGRAL_TYPE_P (type) && ssa_name_has_boolean_range (@1)) (bit_xor @1 @0))) -#endif /* Other simplifications of negation (c.f. fold_negate_expr_1). */ (simplify |