re PR tree-optimization/89247 (ICE in expand_LOOP_VECTORIZED, at internal-fn.c:2409)
authorRichard Biener <rguenther@suse.de>
Fri, 8 Feb 2019 13:21:36 +0000 (13:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 8 Feb 2019 13:21:36 +0000 (13:21 +0000)
commita2d0c3bf8c4487249aae1e2b1927d71703bfcda4
tree2bc0646c56aa7a909d392e2a090b45f5e17c3c5a
parent11719d1474c6dbd574867646b7c53f9719abc178
re PR tree-optimization/89247 (ICE in expand_LOOP_VECTORIZED, at internal-fn.c:2409)

2019-02-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/89247
* tree-if-conv.c: Include tree-cfgcleanup.h.
(version_loop_for_if_conversion): Record LOOP_VECTORIZED call.
(tree_if_conversion): Pass through predicate vector.
(pass_if_conversion::execute): Do CFG cleanup and SSA update
inline, see if any if-converted loops we refrece in
LOOP_VECTORIZED calls vanished and fixup.
* tree-if-conv.h (tree_if_conversion): Adjust prototype.

* gcc.dg/torture/pr89247.c: New testcase.

From-SVN: r268689
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr89247.c [new file with mode: 0644]
gcc/tree-if-conv.c
gcc/tree-if-conv.h