[haifa-sched] PR rtl-optimization/68236: Exit early from autoprefetcher lookahead...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 10 Nov 2015 09:22:58 +0000 (09:22 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 10 Nov 2015 09:22:58 +0000 (09:22 +0000)
commitdf554b0e49e59c974e45ab21a3a2b4295ce348b2
tree1fa983d36c36834a14ddd00db3fcbb63d9e12990
parent0d20a76b28b1ea7935412f2778b250aea5d63f22
[haifa-sched] PR rtl-optimization/68236: Exit early from autoprefetcher lookahead if not in haifa sched

PR rtl-optimization/68236
* haifa-sched.c (autopref_multipass_dfa_lookahead_guard): Return 0
if insn_queue doesn't exist.
(haifa_sched_finish): Reset insn_queue to NULL.

From-SVN: r230088
gcc/ChangeLog
gcc/haifa-sched.c