diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2024-08-29 11:01:56 -0700 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2024-08-30 07:09:07 -0700 |
commit | 4d2cbe2bbedbdbc609683f7fb491b3e02add15b3 (patch) | |
tree | 4e47301e222a80b468144c8f23f74b035adc5df4 /gcc/gdbhooks.py | |
parent | 04d11ded0132adb0054120fb5290154400991d13 (diff) | |
download | gcc-4d2cbe2bbedbdbc609683f7fb491b3e02add15b3.zip gcc-4d2cbe2bbedbdbc609683f7fb491b3e02add15b3.tar.gz gcc-4d2cbe2bbedbdbc609683f7fb491b3e02add15b3.tar.bz2 |
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_apinski@quicinc.com>
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions