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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>:

https://gcc.gnu.org/g:4d2cbe2bbedbdbc609683f7fb491b3e02add15b3

commit r15-3320-g4d2cbe2bbedbdbc609683f7fb491b3e02add15b3
Author: Andrew Pinski <quic_apin...@quicinc.com>
Date:   Thu Aug 29 11:01:56 2024 -0700

    middle-end: Remove integer_three_node [PR116537]

    After the small expansion patch for __builtin_prefetch, the
    only use of integer_three_node is inside tree-ssa-loop-prefetch.cc so let's
    remove it as the loop prefetch pass is not enabled these days by default
and
    having a tree node around just for that pass is a little wasteful. Integer
    constants are also shared these days so calling build_int_cst will use the
cached
    node anyways.

    Bootstrapped and tested on x86_64-linux.

            PR middle-end/116537

    gcc/ChangeLog:

            * tree-core.h (enum tree_index): Remove TI_INTEGER_THREE
            * tree-ssa-loop-prefetch.cc (issue_prefetch_ref): Call
build_int_cst
            instead of using integer_three_node.
            * tree.cc (build_common_tree_nodes): Remove initialization
            of integer_three_node.
            * tree.h (integer_three_node): Delete.

    Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>

Reply via email to