re PR tree-optimization/77848 (Gimple if-conversion results in redundant comparisons)
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 16 Nov 2016 22:17:10 +0000 (22:17 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Wed, 16 Nov 2016 22:17:10 +0000 (22:17 +0000)
commit9e16e6568110b66016b082cf4143b7a8ee3077c8
treee8c01e70870d5bac27f8136579d9ce56fa4d30f6
parenta2ea37fb4c8084421784c80bfd1a4e065980314c
re PR tree-optimization/77848 (Gimple if-conversion results in redundant comparisons)

2016-11-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/77848
* tree-if-conv.c (version_loop_for_if_conversion): When versioning
an outer loop, only save basic block aux information for the inner
loop.
(versionable_outer_loop_p): New function.
(tree_if_conversion): Version the outer loop instead of the inner
one if the pattern will be recognized for outer-loop
vectorization.

From-SVN: r242520
gcc/ChangeLog
gcc/tree-if-conv.c