https://gcc.gnu.org/g:c65710fff8dd28b5574ba9dbce187d367115064c
commit r17-5491-gc65710fff8dd28b5574ba9dbce187d367115064c Author: Kael Andrew Alonzo Franco <[email protected]> Date: Thu Oct 22 12:33:49 2026 -0400 tree-optimization: Remove SSA_NAME check. [PR128045] r16-4576 added a redundant SSA_NAME check, so remove it for genmatch to output less C++ code and faster compile speeds. Bootstrapped and regtested on x86_64-pc-linux-gnu. PR tree-optimization/128045 gcc/ChangeLog: * match.pd: Remove SSA_NAME check. Signed-off-by: Kael Andrew Franco <[email protected]> Diff: --- gcc/match.pd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/match.pd b/gcc/match.pd index 79e7d774da45..7e4498a15313 100644 --- a/gcc/match.pd +++ b/gcc/match.pd @@ -904,9 +904,9 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT) ceil (BUILT_IN_CEILF BUILT_IN_CEIL BUILT_IN_CEILL IFN_CEIL BUILT_IN_CEILF BUILT_IN_CEIL BUILT_IN_CEILL IFN_CEIL) (simplify - (cond (op:c (minus:s SSA_NAME@0 (floor SSA_NAME@0)) - (minus:s (ceil SSA_NAME@0) SSA_NAME@0)) - (bt SSA_NAME@0) (bf SSA_NAME@0)) + (cond (op:c (minus:s @0 (floor @0)) + (minus:s (ceil @0) @0)) + (bt @0) (bf @0)) (if (!HONOR_SIGNED_ZEROS (type) && !HONOR_SIGN_DEPENDENT_ROUNDING (type)) (floor (plus @0 { build_real (type, dconsthalf); })))))
