aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-pre.c
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2010-08-24 23:36:04 +0000
committerSebastian Pop <spop@gcc.gnu.org>2010-08-24 23:36:04 +0000
commit4b9c23ea4e985e4516c75a02948b6c40c8f8a2a7 (patch)
tree81847459ed3a48b0e2fb27223e2a7c6cbd045dca /gcc/tree-ssa-pre.c
parente1fd038a0c859f7f669370f06f0516e4bd5307b9 (diff)
downloadgcc-4b9c23ea4e985e4516c75a02948b6c40c8f8a2a7.zip
gcc-4b9c23ea4e985e4516c75a02948b6c40c8f8a2a7.tar.gz
gcc-4b9c23ea4e985e4516c75a02948b6c40c8f8a2a7.tar.bz2
Speed-up ifcvt_memrefs_wont_trap caching previous results.
This patch speeds up the ifcvt_memrefs_wont_trap computation by caching the results of the computations in the data references ->aux fields. * tree-if-conv.c (struct ifc_dr): New. (IFC_DR): New. (DR_WRITTEN_AT_LEAST_ONCE): New. (DR_RW_UNCONDITIONALLY): New. (memref_read_or_written_unconditionally): Use the cached values when possible. (write_memref_written_at_least_once): Same. (if_convertible_loop_p): Initialize and free DR->aux fields. From-SVN: r163532
Diffstat (limited to 'gcc/tree-ssa-pre.c')
0 files changed, 0 insertions, 0 deletions