https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126958
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Andrea Pinski <[email protected]>: https://gcc.gnu.org/g:9f82055b86c06511ff4f19939cbd7765bf3395fe commit r17-3530-g9f82055b86c06511ff4f19939cbd7765bf3395fe Author: Andrea Pinski <[email protected]> Date: Fri Aug 21 00:09:37 2026 -0700 match: Use wi::to_wide instead of tree_to_uhwi in mul_hi/mul_lo [PR126958] Just a small compile time optimization because wi::to_wide should have almost no overhead in this case when comparing against a constant and/or a generated mask. Pushed as obvious after a bootstrap/test on x86_64-linux-gnu. PR tree-optimization/126958 gcc/ChangeLog: * match.pd (mul_hi): Use wi::to_wide instead of tree_fits_uhwi_p/tree_to_uhwi. (mul_lo): Likewise. Signed-off-by: Andrea Pinski <[email protected]>
