summaryrefslogtreecommitdiff
path: root/gcc/lra.c
diff options
context:
space:
mode:
authorygribov <ygribov@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-03 09:23:28 +0000
committerygribov <ygribov@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-03 09:23:28 +0000
commit977a4cdff6ddcd6d890d45b81c1a1b8fa92f6d54 (patch)
tree1c2d2b5bc2b0c7ac4b2506c7c626622a96199bd0 /gcc/lra.c
parent0a32b28284ff938531ba737ec5464cdf30302ba3 (diff)
downloadgcc-977a4cdff6ddcd6d890d45b81c1a1b8fa92f6d54.tar.gz
Improve optimization of ASan checks.
2014-12-03 Yury Gribov <y.gribov@samsung.com> gcc/ * sanopt.c (maybe_get_single_definition): New function. (maybe_get_dominating_check): Ditto. (can_remove_asan_check): Ditto. (struct tree_map_traits): New struct. (struct sanopt_ctx): Use custom traits for asan_check_map. (maybe_optimize_ubsan_null_ifn): Move code to maybe_get_dominating_check. (maybe_optimize_asan_check_ifn): Move code and take non-SSA expressions into account when optimizing. (sanopt_optimize_walker): Optimize ASan checks even when recovering. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218304 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lra.c')
0 files changed, 0 insertions, 0 deletions