passes.def (pass_early_thread_jumps): Schedule after forwprop.
authorJan Hubicka <hubicka@ucw.cz>
Sun, 18 Sep 2016 18:44:53 +0000 (20:44 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 18 Sep 2016 18:44:53 +0000 (18:44 +0000)
commitb720e91919619f0b4886b0c21c704916ce133fbb
tree4b6a79aa6b6ae2a9ef0d8a2db11b8c28207b3593
parentbdabae3950a0043bfbfb42e585a5d88b7bc79fc6
passes.def (pass_early_thread_jumps): Schedule after forwprop.

* passes.def (pass_early_thread_jumps): Schedule after forwprop.
* tree-pass.h (make_pass_early_thread_jumps): Declare.
* tree-ssa-threadbackward.c (fsm_find_thread_path,
fsm_find_thread_path, profitable_jump_thread_path,
fsm_find_control_statement_thread_paths,
find_jump_threads_backwards): Add speed_p parameter.
(pass_data_early_thread_jumps): New pass.
(make_pass_early_thread_jumps): New function.

* g++.dg/predict-loop-exit-1.C: Disable early jump threading.
* g++.dg/predict-loop-exit-2.C: Disable early jump threading.
* g++.dg/predict-loop-exit-3.C: Disable early jump threading.
* gcc.dg/tree-ssa/pr69196-1.c: Disable early jump threading.
* gcc.dg/tree-ssa/vrp01.c: Disable early jump threading.
* gcc.dg/tree-ssa/ssa-dom-thread-2b.c: Disable early jump threading.
* gcc.dg/tree-ssa/pr68198.c: Scan ethread dump.
* gcc.dg/tree-ssa/ssa-thread-13.c: Scan ethread dump.
* gcc.dg/tree-ssa/vrp56.c: Scan ethread dump.
* gcc.dg/tree-ssa/vrp92.c: Scan ethread dump.
* gcc.dg/uninit-15.c: Swap xfailed and non-xfailed alternative.

From-SVN: r240221
16 files changed:
gcc/ChangeLog
gcc/passes.def
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/predict-loop-exit-1.C
gcc/testsuite/g++.dg/predict-loop-exit-2.C
gcc/testsuite/g++.dg/predict-loop-exit-3.C
gcc/testsuite/gcc.dg/tree-ssa/pr68198.c
gcc/testsuite/gcc.dg/tree-ssa/pr69196-1.c
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-2b.c
gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-13.c
gcc/testsuite/gcc.dg/tree-ssa/vrp01.c
gcc/testsuite/gcc.dg/tree-ssa/vrp56.c
gcc/testsuite/gcc.dg/tree-ssa/vrp92.c
gcc/testsuite/gcc.dg/uninit-15.c
gcc/tree-pass.h
gcc/tree-ssa-threadbackward.c