https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402
--- Comment #67 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tamar Christina <tnfch...@gcc.gnu.org>: https://gcc.gnu.org/g:c0ce29bc1ce329001b6c02bb3d34bcbb086e1b72 commit r14-498-gc0ce29bc1ce329001b6c02bb3d34bcbb086e1b72 Author: Tamar Christina <tamar.christ...@arm.com> Date: Fri May 5 13:36:43 2023 +0100 match.pd: CSE the dump output check. This is a small improvement in QoL codegen for match.pd to save time not re-evaluating the condition for printing debug information in every function. There is a small but consistent runtime and compile time win here. The runtime win comes from not having to do the condition over again, and on Arm plaforms we now use the new test-and-branch support for booleans to only have a single instruction here. gcc/ChangeLog: PR bootstrap/84402 * genmatch.cc (decision_tree::gen, write_predicate): Generate new debug_dump var. (dt_simplify::gen_1): Use it.