aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/ada-tree.h
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2017-06-21 10:40:21 +0000
committerWilco Dijkstra <wilco@gcc.gnu.org>2017-06-21 10:40:21 +0000
commitf28e54bd06f3733ff147128107a8da6d3e6d428e (patch)
tree75e5d4aa2430008c006906269cdaa5febd0dc848 /gcc/ada/gcc-interface/ada-tree.h
parent9a85b75fc414653f4a691ea57b83722489cd3d61 (diff)
downloadgcc-f28e54bd06f3733ff147128107a8da6d3e6d428e.zip
gcc-f28e54bd06f3733ff147128107a8da6d3e6d428e.tar.gz
gcc-f28e54bd06f3733ff147128107a8da6d3e6d428e.tar.bz2
Mark symbols as constant
Aarch64_legitimate_constant_p currently returns false for symbols, eventhough they are always valid constants. This means LOSYM isn't CSEd correctly. If we return true CSE works better, resulting in smaller/faster code (0.3% smaller code on SPEC2006). Avoid this for TLS symbols since their sequence is complex. gcc/ * config/aarch64/aarch64.c (aarch64_legitimate_constant_p): Return true for non-tls symbols. From-SVN: r249442
Diffstat (limited to 'gcc/ada/gcc-interface/ada-tree.h')
0 files changed, 0 insertions, 0 deletions