aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-parser.c
diff options
context:
space:
mode:
authorBin Cheng <bin.cheng@arm.com>2016-04-20 15:41:45 +0000
committerBin Cheng <amker@gcc.gnu.org>2016-04-20 15:41:45 +0000
commitfad08d127f63c0deff683d38034863abf5201bb0 (patch)
tree5fb76629343852155b74e65799acbfe8a3bd9d03 /gcc/c/c-parser.c
parent323af7cfa7b64967d997388be9e564de57e46e2b (diff)
downloadgcc-fad08d127f63c0deff683d38034863abf5201bb0.zip
gcc-fad08d127f63c0deff683d38034863abf5201bb0.tar.gz
gcc-fad08d127f63c0deff683d38034863abf5201bb0.tar.bz2
re PR tree-optimization/56625 (After if-conversion vectorizer doesn't recognize similar loads)
PR tree-optimization/56625 PR tree-optimization/69489 * tree-data-ref.h (DR_INNERMOST): New macro. * tree-if-conv.c (innermost_loop_behavior_hash): New class for hashing struct innermost_loop_behavior. (ref_DR_map): Remove. (innermost_DR_map): New map. (baseref_DR_map): Revise comment. (hash_memrefs_baserefs_and_store_DRs_read_written_info): Store DR to innermost_DR_map accroding to its innermost loop behavior. (ifcvt_memrefs_wont_trap): Get DR from innermost_DR_map according to its innermost loop behavior. (if_convertible_loop_p_1): Remove intialization for ref_DR_map. Add initialization for innermost_DR_map. Record memory reference in DR_BASE_ADDRESS if the reference is compound one or it doesn't have innermost loop behavior. (if_convertible_loop_p): Remove release for ref_DR_map. Release innermost_DR_map. gcc/testsuite/ChangeLog PR tree-optimization/56625 PR tree-optimization/69489 * gcc.dg/vect/pr56625.c: New test. * gcc.dg/tree-ssa/ifc-pr69489-1.c: New test. From-SVN: r235289
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions