diff options
author | Richard Biener <rguenther@suse.de> | 2015-12-09 13:30:41 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-12-09 13:30:41 +0000 |
commit | e56c602ea3335648e81411442a66e52dd129dc3b (patch) | |
tree | 70375149833cc26537e862fd68481e50b57e2001 /gcc/tree-data-ref.c | |
parent | 030809830af91bc325684493fa103b6ae3bf2369 (diff) | |
download | gcc-e56c602ea3335648e81411442a66e52dd129dc3b.zip gcc-e56c602ea3335648e81411442a66e52dd129dc3b.tar.gz gcc-e56c602ea3335648e81411442a66e52dd129dc3b.tar.bz2 |
re PR tree-optimization/68583 (Missed if-conversion)
2015-12-09 Richard Biener <rguenther@suse.de>
PR tree-optimization/68583
* tree-if-conv.c (if_convertible_phi_p): Drop
flag_tree_loop_if_convert_stores check in favor of the
existing any_mask_load_store check.
(insert_gimplified_predicates): Likewise.
(combine_blocks): Likewise.
(tree_if_conversion): Likewise.
(ifcvt_memrefs_wont_trap): Properly check
flag_tree_loop_if_convert_stores in all places that can end
up introducing store-data-races.
(if_convertible_gimple_assign_stmt_p): Remove restriction
on flag_tree_loop_if_convert_stores for stores we can if-convert
without introducing store-data-races. Force versioning for
all if-converted stores.
* gcc.dg/tree-ssa/ifc-pr68583.c: New testcase.
* gcc.dg/vect/vect-72.c: Adjust.
* gcc.dg/vect/vect-cselim-2.c: Likewise.
* gcc.dg/vect/vect-strided-store-a-u8-i2.c: Likewise.
From-SVN: r231453
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions