aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-prefetch.c
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2016-11-15 22:10:37 +0000
committerBernd Edlinger <edlinger@gcc.gnu.org>2016-11-15 22:10:37 +0000
commita8dd133793176fbc022cef752ad654e26256fafa (patch)
tree745ce1201ab430be25f2b58578df4d2bb0417aef /gcc/tree-ssa-loop-prefetch.c
parent839984f40444f7ab73ab0d83c94d82577718b657 (diff)
downloadgcc-a8dd133793176fbc022cef752ad654e26256fafa.zip
gcc-a8dd133793176fbc022cef752ad654e26256fafa.tar.gz
gcc-a8dd133793176fbc022cef752ad654e26256fafa.tar.bz2
genattrtab.c (attr_rtx_1): Avoid allocating new rtx objects.
2016-11-15 Bernd Edlinger <bernd.edlinger@hotmail.de> * genattrtab.c (attr_rtx_1): Avoid allocating new rtx objects. Clear ATTR_CURR_SIMPLIFIED_P for re-used binary rtx objects. Use DEF_ATTR_STRING for string arguments. Use RTL_HASH for integer arguments. Only set ATTR_PERMANENT_P on newly hashed rtx when all sub-rtx are also permanent. (attr_eq): Simplify. (attr_copy_rtx): Remove. (make_canonical, get_attr_value): Use attr_equal_p. (copy_boolean): Rehash NOT. (simplify_test_exp_in_temp, optimize_attrs): Remove call to attr_copy_rtx. (attr_alt_intersection, attr_alt_union, attr_alt_complement, mk_attr_alt): Rehash EQ_ATTR_ALT. (make_automaton_attrs): Use attr_eq. From-SVN: r242460
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
0 files changed, 0 insertions, 0 deletions