[Bug tree-optimization/122987] force_gimple_operand_gsi in tree-ssa-ifcombine.cc can be replaced by gimple_build

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 15 23:30:29 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122987

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Pengxuan Zheng <pzheng@gcc.gnu.org>:

https://gcc.gnu.org/g:39681504b2fcdcbbb9424383524575283511fe00

commit r16-6146-g39681504b2fcdcbbb9424383524575283511fe00
Author: Pengxuan Zheng <pengxuan.zheng@oss.qualcomm.com>
Date:   Thu Dec 11 12:18:32 2025 -0800

    ifcombine: Replace force_gimple_operand_gsi with gimple_build [PR122987]

    This makes the code a little cleaner and might speed up the compiler
slightly.

    Bootstrapped and tested on x86_64 and aarch64.

            PR tree-optimization/122987

    gcc/ChangeLog:

            * tree-ssa-ifcombine.cc (ifcombine_ifandif): Replace
            force_gimple_operand_gsi with gimple_build.

    Signed-off-by: Pengxuan Zheng <pengxuan.zheng@oss.qualcomm.com>


More information about the Gcc-bugs mailing list